summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2018-04-13 15:49:47 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2018-04-13 15:59:40 -0400
commitfbc4a3e474d714b8158e06a9aa0e380ab340065a (patch)
tree3287193f6a0a6bc93af5c622f3bba87771f1dad5 /SConstruct
parent406bfc77c98836094779b8d1447a425e8666bb2f (diff)
downloadmongo-fbc4a3e474d714b8158e06a9aa0e380ab340065a.tar.gz
SERVER-34476 Fix OpenSSL linking on FreeBSD
A dependency upon `libdl` was added, which shouldn't be included for FreeBSD.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 2 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index c0890782982..2e0c7750807 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2754,6 +2754,8 @@ def doConfigure(myenv):
sslLibName = "ssl"
cryptoLibName = "crypto"
sslLinkDependencies = ["crypto", "dl"]
+ if conf.env.TargetOSIs('FreeBSD'):
+ sslLinkDependencies = ["crypto"]
if conf.env.TargetOSIs('windows'):
sslLibName = "ssleay32"
cryptoLibName = "libeay32"