From: Andrew Bartlett Date: Mon, 12 Feb 2024 02:26:14 +0000 (+1300) Subject: ldb: Remove "private_library" variable with just one user X-Git-Tag: tdb-1.4.11~1598 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=625fb48326ec62a33ce0abdbfb0f6f3d33d7cc64;p=thirdparty%2Fsamba.git ldb: Remove "private_library" variable with just one user Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/lib/ldb/wscript b/lib/ldb/wscript index dc5fd86ca3a..29ddf009d6b 100644 --- a/lib/ldb/wscript +++ b/lib/ldb/wscript @@ -88,8 +88,6 @@ def build(bld): if not 'LDB_PACKAGE_VERSION' in bld.env: bld.env.LDB_PACKAGE_VERSION = LDB_VERSION - private_library = not bld.env.ldb_is_public_library - # we're not currently linking against the ldap libs, but ldb.pc.in # has @LDAP_LIBS@ bld.env.LDAP_LIBS = '' @@ -177,7 +175,7 @@ def build(bld): dep_vars=['LDB_VERSION'], target='include/ldb_version.h', public_headers='include/ldb_version.h', - public_headers_install=not private_library) + public_headers_install=not bld.env.ldb_is_public_library) t.env.LDB_VERSION = LDB_VERSION bld.SAMBA_MODULE('ldb_asq',