0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00

SERVER-12421 - detect sasl library properly for C++ driver on Windows

This commit is contained in:
Eric Milkie 2014-01-22 11:22:59 -05:00
parent 92cf0713b7
commit eff37e9c0e

View File

@ -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