mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
link correct libraries on Windows for openssl
This commit is contained in:
parent
1e7a976eff
commit
b21c528acf
@ -748,8 +748,12 @@ if "uname" in dir(os):
|
||||
|
||||
if has_option( "ssl" ):
|
||||
env.Append( CPPDEFINES=["MONGO_SSL"] )
|
||||
env.Append( LIBS=["ssl"] )
|
||||
env.Append( LIBS=["crypto"] )
|
||||
if windows:
|
||||
env.Append( LIBS=["libeay32"] )
|
||||
env.Append( LIBS=["ssleay32"] )
|
||||
else:
|
||||
env.Append( LIBS=["ssl"] )
|
||||
env.Append( LIBS=["crypto"] )
|
||||
|
||||
try:
|
||||
umask = os.umask(022)
|
||||
|
Loading…
Reference in New Issue
Block a user