summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-06-15 14:13:04 +1000
committerAndrew Tridgell <tridge@samba.org>2011-06-15 07:23:10 +0200
commit8c14decdb8cbc5622d7cf9804bef857d0538ede0 (patch)
treecd4b7c5db7411378b00938e16804cda726d22a7b /buildtools/wafsamba
parent720da3cb9131d4e3bdd0352538f0c5d52c4655c8 (diff)
downloadsamba-8c14decdb8cbc5622d7cf9804bef857d0538ede0.tar.gz
samba-8c14decdb8cbc5622d7cf9804bef857d0538ede0.tar.bz2
samba-8c14decdb8cbc5622d7cf9804bef857d0538ede0.zip
build: fixed development symlinks for libraries in subdirectories
this fixes the symlink for libsmbclient.so Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jun 15 07:23:10 CEST 2011 on sn-devel-104
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py
index d755d01078..26d0a371e6 100644
--- a/buildtools/wafsamba/samba_install.py
+++ b/buildtools/wafsamba/samba_install.py
@@ -137,9 +137,9 @@ def install_library(self):
os.path.join(self.path.abspath(bld.env), inst_name))
if install_link and install_link != install_name:
# and the symlink if needed
- bld.symlink_as(os.path.join(install_path, install_link), install_name)
+ bld.symlink_as(os.path.join(install_path, install_link), os.path.basename(install_name))
if dev_link:
- bld.symlink_as(os.path.join(install_path, dev_link), install_name)
+ bld.symlink_as(os.path.join(install_path, dev_link), os.path.basename(install_name))
@feature('cshlib')