wafsamba: If we define a realname and a soname create a symlink.
authorAndreas Schneider <asn@samba.org>
Wed, 17 Oct 2012 16:03:55 +0000 (18:03 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 22 Oct 2012 07:04:21 +0000 (09:04 +0200)
This is needed that libnss_winbind.so.2 and libnss_wins.so.2 will get a
corresponding symlinks.

buildtools/wafsamba/samba_install.py

index 5e53989c04fbefae21005d4069c6b86cad51974a..aa7f14331a37aa64db31d1ba70192e88441f75b9 100644 (file)
@@ -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: