summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-10-17 18:03:55 +0200
committerKarolin Seeger <kseeger@samba.org>2012-10-22 09:04:21 +0200
commit8490c1a503cba909b429cc3cb9c972d51dfa5ea8 (patch)
tree758bd75639bbdfdc1a90eb4302dd51eee84d9d1f /buildtools
parent13bbd3b3b12bcc6e0a2e62c344908ca621774f34 (diff)
downloadsamba-8490c1a503cba909b429cc3cb9c972d51dfa5ea8.tar.gz
samba-8490c1a503cba909b429cc3cb9c972d51dfa5ea8.tar.bz2
samba-8490c1a503cba909b429cc3cb9c972d51dfa5ea8.zip
wafsamba: If we define a realname and a soname create a symlink.
This is needed that libnss_winbind.so.2 and libnss_wins.so.2 will get a corresponding symlinks.
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_install.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py
index 5e53989c04..aa7f14331a 100644
--- a/buildtools/wafsamba/samba_install.py
+++ b/buildtools/wafsamba/samba_install.py
@@ -103,6 +103,8 @@ def install_library(self):
if getattr(self, 'samba_realname', None):
install_name = self.samba_realname
install_link = None
+ if getattr(self, 'soname', ''):
+ install_link = self.soname
if getattr(self, 'samba_type', None) == 'PYTHON':
inst_name = bld.make_libname(t.target, nolibprefix=True, python=True)
else: