File: ldb-no-replace.diff

package info (click to toggle)
samba 2%3A4.22.4%2Bdfsg-1~deb13u1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 185,252 kB
  • sloc: ansic: 1,955,620; python: 269,811; sh: 71,678; xml: 50,288; perl: 36,082; makefile: 6,086; yacc: 4,497; exp: 1,582; cpp: 1,224; lex: 989; awk: 589; java: 119; csh: 58; pascal: 54; sed: 45; asm: 30
file content (20 lines) | stat: -rw-r--r-- 763 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Michael Tokarev <mjt@tls.msk.ru>
Subject: drop "replace" dependency from libldb
Date: Wed, 27 Nov 2024 21:51:50 +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.

diff --git a/lib/ldb/wscript b/lib/ldb/wscript
index ab33f7784a6..41675c7ebe9 100644
--- a/lib/ldb/wscript
+++ b/lib/ldb/wscript
@@ -139,3 +139,3 @@ def build(bld):
                       COMMON_SRC + ' ' + LDB_MAP_SRC,
-                      deps='tevent LIBLDB_MAIN replace',
+                      deps='tevent LIBLDB_MAIN', # replace',
                       includes='include',