diff options
author | Christof Schmitt <cs@samba.org> | 2017-12-07 10:42:30 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2017-12-13 10:06:23 +0100 |
commit | a6777171c0a4e0a8bdda9bf160193773c6b93838 (patch) | |
tree | cd2083bdad7b8bd0812d98b7d980d9b01c97385c /wscript | |
parent | fcc8616450f16850ba1d35fb3d7529c784b615f2 (diff) | |
download | samba-a6777171c0a4e0a8bdda9bf160193773c6b93838.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>
(cherry picked from commit 8e17be1c3df09c238560c8a7e62c17e9f9ff9bc7)
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -157,6 +157,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) |