]> git.ipfire.org Git - thirdparty/samba.git/commit
specify some deps on private libs actually used directly
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 19 May 2022 17:37:21 +0000 (20:37 +0300)
committerPavel Filipensky <pfilipensky@samba.org>
Thu, 2 Jan 2025 17:01:30 +0000 (17:01 +0000)
commitbf239def4fa3e5782b4b14744a97561d49e3a25e
treef4831bf0b986985c6f9b082c157aa28c83e75814
parent2b2f06ee6ebe288c47bff4e661e582c816b616ad
specify some deps on private libs actually used directly

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 some libraries which are
a part of public abi (libsmbldap, libndr).

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
lib/param/wscript_build
lib/util/wscript_build
librpc/wscript_build
source3/wscript_build
source4/dsdb/samdb/ldb_modules/wscript_build_server
source4/param/wscript_build