0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

SERVER-34476 Fix OpenSSL linking on FreeBSD

`TargetOSIs` takes case-flattened OS names.
This commit is contained in:
ADAM David Alan Martin 2018-04-13 16:03:08 -04:00
parent fbc4a3e474
commit 63144b6bb4
No known key found for this signature in database
GPG Key ID: D860F95FD1BEEA08

View File

@ -2754,7 +2754,7 @@ def doConfigure(myenv):
sslLibName = "ssl"
cryptoLibName = "crypto"
sslLinkDependencies = ["crypto", "dl"]
if conf.env.TargetOSIs('FreeBSD'):
if conf.env.TargetOSIs('freebsd'):
sslLinkDependencies = ["crypto"]
if conf.env.TargetOSIs('windows'):
sslLibName = "ssleay32"