summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/samba4-templates.mk2
1 files changed, 1 insertions, 1 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