summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-22 23:36:48 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-22 23:36:48 +0100
commitc2872a6ba5a7012028f1b9167c61d5907b8f7d3d (patch)
treeb54a0b3bb75703415ae105f9d11ed8c7aeff6b32
parentb86b2ce662e4d0a29467e4029c640b6c9e7a06f0 (diff)
downloadsamba-c2872a6ba5a7012028f1b9167c61d5907b8f7d3d.tar.gz
samba-c2872a6ba5a7012028f1b9167c61d5907b8f7d3d.tar.bz2
samba-c2872a6ba5a7012028f1b9167c61d5907b8f7d3d.zip
Force symbolic links for shared library sonames to be created,
as they are required at run-time.
-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