add missing libs deps
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 19 May 2022 17:37:21 +0000 (20:37 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 11 Dec 2023 10:19:18 +0000 (13:19 +0300)
commit0c981e926b678cd5d80d29fd50f5704ba65021a8
tree0d80f68581878c8eeaf0c443d1febd50ec7dccb5
parent4e05239702871bcd4f4bb6fa8b1272829e3fbfa7
add missing libs deps

Bug-Debian: https://bugs.debian.org/1010922

Lots of samba libraries has incomplete dependencies listed
in wscript files.  This usually is not a problem since the
link line includes dependencies of their dependencies of
their dependencies, and somewhere down that line all immediate
dependencies which are missing are actually present.  But
sometimes this becomes a problem when a library does not
declare direct dependency on at least one private library
which it actually uses: in case no private library is
listed as direct dependency, private library directory is
not put into RUNPATH of the resulting binary, so the binary
can not find its own dependencies.

Fix a few such places, including one library which is a part
of public abi (libsmbldap).

Gbp-Pq: Name add-missing-libs-deps.diff
lib/util/wscript_build
source3/wscript_build