git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
065fb5d
)
wscript: Add check for --wrap linker flag
author
Christof Schmitt
<cs@samba.org>
Thu, 7 Dec 2017 17:42:30 +0000
(10:42 -0700)
committer
Christof Schmitt
<cs@samba.org>
Fri, 8 Dec 2017 08:43:12 +0000
(09:43 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13170
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index b1671022be19a38ad702e4e309ecbc8a334aa985..0ef5f6050a3a80ceab8a760cc957d18df2f79c3a 100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-183,6
+183,10
@@
def configure(conf):
conf.RECURSE('lib/ldb')
+ if conf.CHECK_LDFLAGS(['-Wl,--wrap=test']):
+ conf.env['HAVE_LDWRAP'] = True
+ conf.define('HAVE_LDWRAP', 1)
+
if not (Options.options.without_ad_dc):
conf.DEFINE('AD_DC_BUILD_IS_ENABLED', 1)