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:
parent
92cf0713b7
commit
eff37e9c0e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user