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, 27 Nov 2023 19:22:54 +0000 (22:22 +0300)
commitacb658651f07e3cf4d7f5ca3f7c6f8842e984467
treee09f778a90cc3bba3017fbbdc7c3a3ad354e5869
parent18e9e2595b254c2463b3b475a28a2556efc2b6ef
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