diff --git a/Bootstrap.mak b/Bootstrap.mak index 7c90f2b9..d1eebf97 100644 --- a/Bootstrap.mak +++ b/Bootstrap.mak @@ -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` diff --git a/contrib/curl/premake5.lua b/contrib/curl/premake5.lua index 34d8ec1b..77be654d 100644 --- a/contrib/curl/premake5.lua +++ b/contrib/curl/premake5.lua @@ -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" } diff --git a/premake5.lua b/premake5.lua index cc91d132..9a448570 100644 --- a/premake5.lua +++ b/premake5.lua @@ -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"