defs.h must be a dependency on each source files, otherwise
targets might be built before defs.h is linked into the directory.
Signed-off-by: Sven Schnelle <svens(a)linux.ibm.com>
---
extensions/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/extensions/Makefile b/extensions/Makefile
index 0ad625af37ce..2894b9aa5a08 100644
--- a/extensions/Makefile
+++ b/extensions/Makefile
@@ -26,9 +26,9 @@
CONTRIB_SO := $(patsubst %.c,%.so,$(wildcard *.c))
-all: link_defs $(CONTRIB_SO)
-
-link_defs:
+all: $(CONTRIB_SO)
+
+defs.h:
@rm -f defs.h
@ln ../defs.h
--
2.32.0