Fix failing 'https_get_verify_peer' test on Mac
This commit is contained in:
parent
b2ec8b1b9a
commit
386a7f0ab2
@ -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`
|
||||
|
@ -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" }
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user