summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools')
-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 74730dd3b2..e2db589ff0 100644
--- a/buildtools/wafsamba/samba_install.py
+++ b/buildtools/wafsamba/samba_install.py
@@ -29,7 +29,7 @@ def install_binary(self):
install_path = self.samba_inst_path or '${BINDIR}'
install_path = bld.EXPAND_VARIABLES(install_path)
- orig_target = self.target
+ orig_target = os.path.basename(self.target)
if install_ldflags != build_ldflags:
# we will be creating a new target name, and using that for the