File: ldb-no-replace.diff

package info (click to toggle)
samba 2%3A4.23.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 188,284 kB
  • sloc: ansic: 2,006,966; python: 272,596; sh: 72,233; xml: 51,608; perl: 36,088; makefile: 6,353; yacc: 5,320; exp: 1,582; lex: 1,504; cpp: 1,224; 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',