drop "replace" dependency from libldb
authorMichael Tokarev <mjt@tls.msk.ru>
Wed, 27 Nov 2024 18:51:50 +0000 (21:51 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 12 Jan 2025 20:16:00 +0000 (23:16 +0300)
Forwarded: not-needed

When building as a sub-library within samba, where
libreplace is a private library, libldb.so will
have rpath pointing to the private samba dir.  Since
ldb actually does not use anything from libreplace,
just remove the dependency.

Gbp-Pq: Name ldb-no-replace.diff

lib/ldb/wscript

index ab33f7784a62f44b565efcd5a64aeac80d0b6ba8..41675c7ebe9cb94aca16f25d8faa544c0edcdc9a 100644 (file)
@@ -137,7 +137,7 @@ def build(bld):
 
     bld.SAMBA_LIBRARY('ldb',
                       COMMON_SRC + ' ' + LDB_MAP_SRC,
-                      deps='tevent LIBLDB_MAIN replace',
+                      deps='tevent LIBLDB_MAIN', # replace',
                       includes='include',
                       public_headers=ldb_headers,
                       public_headers_install=True,