From 8c14decdb8cbc5622d7cf9804bef857d0538ede0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 15 Jun 2011 14:13:04 +1000 Subject: build: fixed development symlinks for libraries in subdirectories this fixes the symlink for libsmbclient.so Autobuild-User: Andrew Tridgell Autobuild-Date: Wed Jun 15 07:23:10 CEST 2011 on sn-devel-104 --- buildtools/wafsamba/samba_install.py | 4 ++-- 1 file 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') -- cgit