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>
Fri, 18 Apr 2025 10:02:55 +0000 (13:02 +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 f234fa79c10c90cb8c90e3e152b1d2f63b5732ed..1bd3fee4e3c1f524e74368fd5cc78e158b14c663 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,