SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
25
net/samba/patches/patch-lib_ldb_wscript
Normal file
25
net/samba/patches/patch-lib_ldb_wscript
Normal file
|
@ -0,0 +1,25 @@
|
|||
1. Force building standalone library (e.g., put headers in appropriate place).
|
||||
|
||||
2. Use -Wl,no-undefined as on other platforms.
|
||||
|
||||
Index: lib/ldb/wscript
|
||||
--- lib/ldb/wscript.orig
|
||||
+++ lib/ldb/wscript
|
||||
@@ -69,6 +69,7 @@ def configure(conf):
|
||||
conf.CONFIG_PATH('LDB_MODULESDIR', conf.SUBST_ENV_VAR('MODULESDIR') + '/ldb')
|
||||
|
||||
conf.env.standalone_ldb = conf.IN_LAUNCH_DIR()
|
||||
+ conf.env.standalone_ldb = True
|
||||
|
||||
if not conf.env.standalone_ldb:
|
||||
max_ldb_version = [int(x) for x in VERSION.split(".")]
|
||||
@@ -152,8 +153,7 @@ def configure(conf):
|
||||
|
||||
# we don't want any libraries or modules to rely on runtime
|
||||
# resolution of symbols
|
||||
- if not sys.platform.startswith("openbsd"):
|
||||
- conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True)
|
||||
+ conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True)
|
||||
|
||||
# if lmdb support is enabled then we require lmdb
|
||||
# is present, build the mdb back end and enable lmdb support in
|
Loading…
Add table
Add a link
Reference in a new issue