git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd8e3cf
)
build: get the SONAME right for installed libraries
author
Andrew Tridgell
<tridge@samba.org>
Sun, 23 May 2010 15:55:48 +0000
(17:55 +0200)
committer
Andrew Tridgell
<tridge@samba.org>
Sun, 23 May 2010 20:11:57 +0000
(22:11 +0200)
buildtools/wafsamba/samba_install.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_install.py
b/buildtools/wafsamba/samba_install.py
index 63dab1628ca78372bd3cf38b18ce78906d395628..4e968bf97cc35928b31268428d78e8cc671900e3 100644
(file)
--- a/
buildtools/wafsamba/samba_install.py
+++ b/
buildtools/wafsamba/samba_install.py
@@
-105,6
+105,10
@@
def install_library(self):
install_link = None
inst_name = 'lib%s.so' % t.target
+ if t.env.SONAME_ST and install_link:
+ t.env.append_value('LINKFLAGS', t.env.SONAME_ST % install_link)
+ t.env.SONAME_ST = ''
+
# tell waf to install the library
bld.install_as(os.path.join(install_path, install_name),
os.path.join(self.path.abspath(bld.env), inst_name))