File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -17,19 +17,19 @@ call "%~dp0\..\scripts\common.bat" prepare_project || exit /b 1
1717
1818cd " %SRCROOT% \%PROJECT% " || exit \b 1
1919
20- :: Generates the tool_hugehelp.c file
20+ :: generate build config
2121call " buildconf.bat" || exit \b 1
2222
2323set BUILD_DIR = " %SRCROOT% \%PROJECT% \build-%ARCH% -%BUILD_TYPE% "
2424if exist " %BUILD_DIR% " (rmdir /S /Q " %BUILD_DIR% " || exit /b 1)
2525mkdir " %BUILD_DIR% " || exit /b 1
2626cd " %BUILD_DIR% " || exit /b 1
2727
28-
2928echo .
3029echo ### Running cmake
3130cmake .. %CMAKE_OPTIONS% ^
32- -D BUILD_SHARED_LIBS=NO ^
31+ -D BUILD_SHARED_LIBS=YES ^
32+ -D CURL_USE_SCHANNEL=YES ^
3333 -D BUILD_CURL_EXE=NO ^
3434 || exit /b 1
3535
4141echo ### Installing
4242ninja install || exit /b 1
4343
44- ren " %INSTALL_PREFIX% \lib\libcurl-d.lib" " %INSTALL_PREFIX% \lib\curl.lib"
44+ :: rename libcurl-d_imp.lib to curl.lib to allow linking using -lcurl
45+ ren " %INSTALL_PREFIX% \lib\libcurl*.lib" " curl.lib" || exit /b 1
You can’t perform that action at this time.
0 commit comments