diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-05-23 17:55:48 +0200 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-05-23 22:11:57 +0200 |
commit | eec93985d1d31c86509020fb03515758531a098f (patch) | |
tree | 85d96938fdf46d1926361c64b0cd871c0bb0f487 | |
parent | bd8e3cf85586c9d2fadef40c861221073923c91c (diff) | |
download | samba-eec93985d1d31c86509020fb03515758531a098f.tar.gz samba-eec93985d1d31c86509020fb03515758531a098f.tar.bz2 samba-eec93985d1d31c86509020fb03515758531a098f.zip |
build: get the SONAME right for installed libraries
-rw-r--r-- | buildtools/wafsamba/samba_install.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py index 63dab1628c..4e968bf97c 100644 --- 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)) |