diff options
author | Christof Schmitt <cs@samba.org> | 2017-12-07 10:42:30 -0700 |
---|---|---|
committer | Christof Schmitt <cs@samba.org> | 2017-12-08 09:43:12 +0100 |
commit | 8e17be1c3df09c238560c8a7e62c17e9f9ff9bc7 (patch) | |
tree | 6c77a8be958af2153d525940feda8e13e043a19c /wscript | |
parent | 065fb5d94d25d19fc85832bb85aa9e379e8551cc (diff) | |
download | samba-8e17be1c3df09c238560c8a7e62c17e9f9ff9bc7.tar.gz |
wscript: Add check for --wrap linker flag
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>
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |