Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/build-windows-php' into build-wi…
Browse files Browse the repository at this point in the history
…ndows-php
  • Loading branch information
jingjingxyk committed Dec 31, 2024
2 parents 33078f1 + 2cefe10 commit 566163e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sapi/quickstart/windows/native-build/config.bat
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ rem set "LIBPATH=%LIBPATH%;%__PROJECT__%\build\openssl\lib\;%__PROJECT__%\build\
:: echo %LIBPATH%

set "CFLAGS=/EHsc /MT "
set "LDFLAGS=/VERBOSE:LIB /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:libcmtd.lib /NODEFAULTLIB:msvcrtd.lib /DEFAULTLIB:libcmt.lib "

rem https://learn.microsoft.com/zh-cn/cpp/c-runtime-library/crt-library-features?view=msvc-170
rem https://learn.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features?view=msvc-170

set "LDFLAGS=/VERBOSE:LIB /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:libcmtd.lib /NODEFAULTLIB:msvcrtd.lib /NODEFAULTLIB:libcmt.lib /DEFAULTLIB:libucrt.lib /NODEFAULTLIB:libucrtd.lib /NODEFAULTLIB:libucrtd.lib /NODEFAULTLIB:ucrt.lib /NODEFAULTLIB:ucrtd.lib "



Expand Down

0 comments on commit 566163e

Please sign in to comment.