summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-03-09 01:22:32 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-03-09 01:22:32 +0100
commitb44dcae6bb201d4c243672d1fd8877ab17d5c636 (patch)
tree4e0485adb1b78ae59a8dadcb91aa1cb95e23cf4f /source4/build
parentec019c469ed8f411aa0efac0c17402b78f1e9b00 (diff)
downloadsamba-b44dcae6bb201d4c243672d1fd8877ab17d5c636.tar.gz
samba-b44dcae6bb201d4c243672d1fd8877ab17d5c636.tar.bz2
samba-b44dcae6bb201d4c243672d1fd8877ab17d5c636.zip
Fix the build, symlinks.
(This used to be commit c165b34805aa6a82e579afda9f4244c0c68d52b4)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/make/rules.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/build/make/rules.mk b/source4/build/make/rules.mk
index 3c4f4081ea..3ff9f2b933 100644
--- a/source4/build/make/rules.mk
+++ b/source4/build/make/rules.mk
@@ -148,14 +148,14 @@ $(1): $(2)
ifneq ($(notdir $(1)),$(notdir $(4)))
$(4): $(1)
- @echo "Creating symbolic link for $(4)"
- @ln -fs $(notdir $(4)) $(1)
+ @echo "Creating symbolic link for $$@"
+ @ln -fs $$(<F) $$@
endif
ifneq ($(notdir $(1)),$(notdir $(5)))
$(5): $(1)
- @echo "Creating symbolic link for $(5)"
- @ln -fs $(notdir $(5)) $(1)
+ @echo "Creating symbolic link for $$@"
+ @ln -fs $$(<F) $$@
endif
endef