-
Type: Question
-
Resolution: Incomplete
-
Priority: Minor - P4
-
None
-
Affects Version/s: 3.2.4
-
Component/s: Build
-
None
-
Fully Compatible
-
Platforms 12 (04/01/16)
Is it possible to build mongo.exe / mongod.exe in Windows with a static link to the openssl libs? When I try I with an openssl build using a static libeay32.lib & ssleay32.lib, I get an error from scons "Couldn't find OpenSSL ssl.h header and library").
Building mongo with the same openssl directory built with a dynamic libeay32.dll & .lib and ssleay32.dll & .lib works. But I would prefer to use the staticly linked openssl.
My scons build line looks like this:
scons MSVC_VERSION=12.0 --ssl CPPPATH=s:\sdk\openssl-1.0.2e-VS2013\include LIBPATH=s:\sdk\openssl-1.0.2e-VS2013\win64\lib --release --win-version-min=win7 all