diff options
author | Andreas Schneider <asn@samba.org> | 2012-10-17 18:03:55 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2012-10-22 09:04:21 +0200 |
commit | 8490c1a503cba909b429cc3cb9c972d51dfa5ea8 (patch) | |
tree | 758bd75639bbdfdc1a90eb4302dd51eee84d9d1f /buildtools | |
parent | 13bbd3b3b12bcc6e0a2e62c344908ca621774f34 (diff) | |
download | samba-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.py | 2 |
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: |