0
0
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:
Eric Milkie 2012-12-14 17:17:21 -05:00
parent 1e7a976eff
commit b21c528acf

View File

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