summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-30 15:32:06 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:18 +1000
commit354a76aeb3f491be3224e2e77500b13ca21d8cf4 (patch)
tree98ae066a1fda342022e75966f1300e46184326a9
parent385e02e9d9b9fccf48614f70ade3ceb2b6345f8a (diff)
downloadsamba-354a76aeb3f491be3224e2e77500b13ca21d8cf4.tar.gz
samba-354a76aeb3f491be3224e2e77500b13ca21d8cf4.tar.bz2
samba-354a76aeb3f491be3224e2e77500b13ca21d8cf4.zip
build: fixed install target for systems with rpath disabled
-rw-r--r--buildtools/wafsamba/wafsamba.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 9be10bfdbb..2f3120d6e9 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -195,16 +195,16 @@ def SAMBA_LIBRARY(bld, libname, source,
if realname:
install_name = realname
install_link = None
- inst_name = libname + '.inst.so'
+ inst_name = install_target + '.so'
elif vnum:
vnum_base = vnum.split('.')[0]
install_name = 'lib%s.so.%s' % (bundled_name, vnum)
install_link = 'lib%s.so.%s' % (bundled_name, vnum_base)
- inst_name = 'lib%s.inst.so' % bundled_name
+ inst_name = 'lib%s.so' % install_target
else:
install_name = 'lib%s.so' % bundled_name
install_link = None
- inst_name = 'lib%s.inst.so' % bundled_name
+ inst_name = 'lib%s.so' % install_target
bld.install_as(os.path.join(install_path, install_name), inst_name)
if install_link: