Tests by Vijay Sankar and Ian, ok Ian This release contains the security fixes introduced by 4.4.2, plus the new features and improvements from 4.4.0: https://www.samba.org/samba/history/samba-4.4.0.html
27 lines
1005 B
Plaintext
27 lines
1005 B
Plaintext
$OpenBSD: patch-lib_ldb_wscript,v 1.5 2016/04/22 11:48:36 jca Exp $
|
|
|
|
1. Force building standalone library (e.g., put headers in appropriate place).
|
|
|
|
2. Use -Wl,no-undefined as on other platforms.
|
|
|
|
--- lib/ldb/wscript.orig Wed Apr 13 17:18:37 2016
|
|
+++ lib/ldb/wscript Wed Apr 13 17:18:37 2016
|
|
@@ -53,6 +53,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:
|
|
if conf.CHECK_BUNDLED_SYSTEM_PKG('pyldb-util', minversion=VERSION,
|
|
@@ -73,8 +74,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)
|
|
|
|
conf.DEFINE('HAVE_CONFIG_H', 1, add_to_cflags=True)
|
|
|