summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_install.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-18 21:08:11 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-18 21:08:48 +1000
commitf8e3e5ce074ba08aefba3b4e7fe804c08687dbfa (patch)
tree262d13d180f924e456c97a9a322b7b2f6e409b8c /buildtools/wafsamba/samba_install.py
parent639fe346670c760ec6a1536e2d3962e1c301b13c (diff)
downloadsamba-f8e3e5ce074ba08aefba3b4e7fe804c08687dbfa.tar.gz
samba-f8e3e5ce074ba08aefba3b4e7fe804c08687dbfa.tar.bz2
samba-f8e3e5ce074ba08aefba3b4e7fe804c08687dbfa.zip
build: fixed install of binary targets that are in subdirs
this should fix the smbd/smbd install problem with Kai's s3 waf build
Diffstat (limited to 'buildtools/wafsamba/samba_install.py')
-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