diff options
author | Eric Milkie <milkie@10gen.com> | 2014-01-22 11:22:59 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2014-01-23 08:47:50 -0500 |
commit | eff37e9c0e5f4a3cd1178cb42fa4c1f518b8b597 (patch) | |
tree | ce26a92c3f65229d908cb69e2c0ba8fe00a299b8 /SConstruct | |
parent | 92cf0713b74ce2f8b011e6768a66c4e99d75a8ea (diff) | |
download | mongo-eff37e9c0e5f4a3cd1178cb42fa4c1f518b8b597.tar.gz |
SERVER-12421 - detect sasl library properly for C++ driver on Windows
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index b5faf993cf3..c4a30a2fd3e 100644 --- a/SConstruct +++ b/SConstruct @@ -1416,7 +1416,11 @@ def doConfigure(myenv): conf.env['MONGO_BUILD_SASL_CLIENT'] = bool(has_option("use-sasl-client")) if conf.env['MONGO_BUILD_SASL_CLIENT'] and not conf.CheckLibWithHeader( - "sasl2", "sasl/sasl.h", "C", "sasl_version_info(0, 0, 0, 0, 0, 0);", autoadd=False ): + "sasl2", + ["stddef.h","sasl/sasl.h"], + "C", + "sasl_version_info(0, 0, 0, 0, 0, 0);", + autoadd=False ): Exit(1) # requires ports devel/libexecinfo to be installed |