Add explicit dependency on samba-debug from libinterfaces and libserverrole.
authorZentaro Kavanagh <zentaro@google.com>
Tue, 17 Jan 2017 20:40:01 +0000 (12:40 -0800)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 23 Jan 2017 07:26:43 +0000 (08:26 +0100)
Currently these dependencies are indirect via a SAMBA_SUBSYSTEM
which does not propagate private library information. This results
in these 2 libraries getting generated with no RPATH information
in the ELF header.

Additional discussion [1].

[1] -
https://lists.samba.org/archive/samba-technical/2017-January/118078.html

Signed-off-by: Zentaro Kavanagh <zentaro@google.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jan 23 08:26:43 CET 2017 on sn-devel-144

lib/param/wscript_build
lib/socket/wscript_build

index c7fe57717db61bdc92781ff4d88ad9c0a7b6c224..20c8bcab22a5b021363e01759547cef32a6f1501 100644 (file)
@@ -32,7 +32,7 @@ bld.SAMBA_GENERATOR('param_table_gen.c',
 
 bld.SAMBA_LIBRARY('server-role',
                   source='loadparm_server_role.c',
-                  deps='samba-util',
+                  deps='samba-util samba-debug',
                   private_library=True)
 
 bld.SAMBA_LIBRARY('samba-hostconfig',
index 61bde129c5801b24369bbe1867694f68a0a8b1f9..92e5aef68d069cf1a9ba040e91a2395ac86497f8 100644 (file)
@@ -2,6 +2,6 @@
 
 bld.SAMBA_LIBRARY('interfaces',
     source='interfaces.c',
-    deps='samba-util',
+    deps='samba-util samba-debug',
     private_library=True
     )