Hello.

 

When I try to create static version of openssl I use

nmake  ms/nt.mak  - as described in INSTALL.W32

 

but nt.mak  contins line

CFLAG= /MD /Ox /O2 /Ob2 /W3 /WX /Gs0 /GF /Gy /nologo
-DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32
-D_CRT_SECURE_NO_DEPRECATE -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM
/Fdout32 -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_KRB5    

 

The first option is /MD  - Multithreaded DLL code generation

But for static library option should be  /MT Multithreaded code
generation

 

With /MD I have a typical problem (for mixed code generation) during
linking my application.

With /MT everything is ok.

 

Also I have replaced all /MD with /MT in VC-32.pl (not sure how to make
it correctly for both static and shared libraries).

 

Hope my information will be helpful.

Best regards,
Konstantin 

 

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to