summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-04-11 21:59:43 +0200
committerAndrew Tridgell <tridge@samba.org>2010-04-12 17:47:30 +1000
commitc09fa85735b044028f9659e2db075918fdfd07c8 (patch)
treeff00900dd96f808705a47cdad8431c045756803d /buildtools/wafsamba
parente683ac6f81306a03d8fe6bedeb5ca1a6facd6f1f (diff)
downloadsamba-c09fa85735b044028f9659e2db075918fdfd07c8.tar.gz
samba-c09fa85735b044028f9659e2db075918fdfd07c8.tar.bz2
samba-c09fa85735b044028f9659e2db075918fdfd07c8.zip
s3-waf: Correctly create symlink if SAMBA_BINARY targets are not in the current diectory
Many thanks to ita for pointing out the fix.
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py
index df65da1e15..6da4493218 100644
--- a/buildtools/wafsamba/samba_install.py
+++ b/buildtools/wafsamba/samba_install.py
@@ -150,7 +150,7 @@ def symlink_bin(self):
blddir = os.path.dirname(self.bld.srcnode.abspath(self.bld.env))
binpath = self.link_task.outputs[0].abspath(self.env)
- bldpath = os.path.join(self.bld.env.BUILD_DIRECTORY, self.target)
+ bldpath = os.path.join(self.bld.env.BUILD_DIRECTORY, self.link_task.outputs[0].name)
if os.path.lexists(bldpath):
old_link = os.readlink(bldpath)