summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-05 18:16:47 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:27 +1000
commit35ec7c34b3a233a8d1b0a551b3c6095a45eb6bb6 (patch)
tree7d0af7cdbe98a8fc9af9582917fb1ab497460ae5 /buildtools/wafsamba
parent748ef2c86516f8951b6da2803e8163026768e328 (diff)
downloadsamba-35ec7c34b3a233a8d1b0a551b3c6095a45eb6bb6.tar.gz
samba-35ec7c34b3a233a8d1b0a551b3c6095a45eb6bb6.tar.bz2
samba-35ec7c34b3a233a8d1b0a551b3c6095a45eb6bb6.zip
build: cope with binaries with subdir prefixes (for s3 waf build)
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 2fbf5da843..2f861616c1 100644
--- a/buildtools/wafsamba/samba_install.py
+++ b/buildtools/wafsamba/samba_install.py
@@ -147,7 +147,7 @@ def symlink_bin(self):
blddir = Utils.g_module.blddir
binpath = self.link_task.outputs[0].abspath(self.env)
- bldpath = os.path.join(blddir, self.target)
+ bldpath = os.path.join(blddir, os.path.basename(self.target))
binpath = os_path_relpath(binpath, os.path.dirname(bldpath))