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>
Wed, 29 May 2024 17:31:41 +0000 (20:31 +0300)
commita07a1b2a8b0673c2ac39c8955ed2d9753211c47d
treeabafe6850cce9f6d6bb7723840c5cee3bf7d5c0f
parentc9e1fff2a73fb7432fab14395dcc7a50cf099c2b
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