Fix failing 'https_get_verify_peer' test on Mac

This commit is contained in:
Jusonex 2017-03-09 12:42:34 +01:00
parent b2ec8b1b9a
commit 386a7f0ab2
3 changed files with 7 additions and 4 deletions

View File

@ -53,7 +53,7 @@ mingw: $(SRC)
osx: $(SRC)
mkdir -p build/bootstrap
$(CC) -o build/bootstrap/premake_bootstrap -DPREMAKE_NO_BUILTIN_SCRIPTS -DLUA_USE_MACOSX -I"$(LUA_DIR)" -framework CoreServices $?
$(CC) -o build/bootstrap/premake_bootstrap -DPREMAKE_NO_BUILTIN_SCRIPTS -DLUA_USE_MACOSX -I"$(LUA_DIR)" -framework CoreServices -framework Foundation -framework Security $?
./build/bootstrap/premake_bootstrap embed
./build/bootstrap/premake_bootstrap --to=build/bootstrap gmake
$(MAKE) -C build/bootstrap -j`getconf _NPROCESSORS_ONLN`

View File

@ -18,8 +18,11 @@ project "curl-lib"
filter { "system:windows" }
defines { "USE_SCHANNEL", "USE_WINDOWS_SSPI" }
filter { "system:not windows" }
filter { "system:macosx" }
defines { "USE_DARWINSSL" }
filter { "system:not windows", "system:not macosx" }
defines { "USE_MBEDTLS" }
filter { "system:linux" }

View File

@ -171,7 +171,7 @@
filter "system:macosx"
defines { "LUA_USE_MACOSX" }
links { "CoreServices.framework" }
links { "CoreServices.framework", "Foundation.framework", "Security.framework" }
filter { "system:macosx", "action:gmake" }
toolset "clang"