summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/samba4-templates.mk2
-rw-r--r--source4/build/make/templates.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/samba4-templates.mk b/source3/samba4-templates.mk
index e691af59e9..ecebce6d1d 100644
--- a/source3/samba4-templates.mk
+++ b/source3/samba4-templates.mk
@@ -90,7 +90,7 @@ $(4): $(1)
endif
ifneq ($(notdir $(1)),$(notdir $(5)))
-$(5): $(1)
+$(5): $(1) $(4)
@echo "Creating symbolic link for $$@"
@ln -fs $$(<F) $$@
endif
diff --git a/source4/build/make/templates.mk b/source4/build/make/templates.mk
index f7eab6ce01..dbfc738ae1 100644
--- a/source4/build/make/templates.mk
+++ b/source4/build/make/templates.mk
@@ -87,7 +87,7 @@ $(4): $(1)
endif
ifneq ($(notdir $(1)),$(notdir $(5)))
-$(5): $(1)
+$(5): $(1) $(4)
@echo "Creating symbolic link for $$@"
@ln -fs $$(<F) $$@
endif