Skip to content

Commit

Permalink
Fixed a bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwenx190 committed Jun 10, 2018
1 parent 4dae479 commit d20ef7c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions win-build-openssl.bat
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ IF /I "%_COMP_MODE%" NEQ "release" (
SET "_PLATFORM=%_PLATFORM% --debug"
)
)
SET _CFG_PARAMS=Configure %_PLATFORM% no-asm --prefix="%_INSTALL_DIR%" %_EXTRA_PARAMS%
IF /I "%_BUILD_TYPE%" NEQ "lib" SET _CFG_PARAMS=%_CFG_PARAMS% enable-static-engine
SET _CFG_PARAMS=Configure %_PLATFORM% no-asm enable-static-engine --prefix="%_INSTALL_DIR%" %_EXTRA_PARAMS%
IF /I "%_TARGET_ARCH%" NEQ "x64" SET _CFG_PARAMS=%_CFG_PARAMS% -DUNICODE -D_UNICODE
IF /I "%_OPENSSL_VERSION%" NEQ "1.0.2" (
IF /I "%_BUILD_TYPE%" NEQ "dll" SET _CFG_PARAMS=%_CFG_PARAMS% no-shared -static
SET _CFG_PARAMS=%_CFG_PARAMS% enable-md2 enable-rc5 enable-heartbeats
REM SET _CFG_PARAMS=%_CFG_PARAMS% enable-md2 enable-rc5 enable-heartbeats
)
perl %_CFG_PARAMS%
IF /I "%_OPENSSL_VERSION%" == "1.0.2" (
Expand Down

0 comments on commit d20ef7c

Please sign in to comment.