wafbuild: create missing private library symlinks on platforms without soname support...
authorBjörn Jacke <bj@sernet.de>
Thu, 28 Feb 2019 16:31:31 +0000 (17:31 +0100)
committerBjoern Jacke <bjacke@samba.org>
Fri, 1 Mar 2019 17:05:19 +0000 (17:05 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9557

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Fri Mar  1 17:05:19 UTC 2019 on sn-devel-144

buildtools/wafsamba/samba_install.py

index 47bc0cbf90c228bb868f4900f54bec5f813d4521..c07b2ce639a5d390dcd217724588aae5097a8fa4 100644 (file)
@@ -121,7 +121,7 @@ def install_library(self):
             install_name = bld.make_libname(target_name, version=self.vnum)
             install_link = bld.make_libname(target_name, version=vnum_base)
             inst_name    = bld.make_libname(t.target)
             install_name = bld.make_libname(target_name, version=self.vnum)
             install_link = bld.make_libname(target_name, version=vnum_base)
             inst_name    = bld.make_libname(t.target)
-            if not self.private_library:
+            if not self.private_library or not t.env.SONAME_ST:
                 # only generate the dev link for non-bundled libs
                 dev_link     = bld.make_libname(target_name)
         elif getattr(self, 'soname', ''):
                 # only generate the dev link for non-bundled libs
                 dev_link     = bld.make_libname(target_name)
         elif getattr(self, 'soname', ''):