summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))