diff --git a/build/premake/extern_libs5.lua b/build/premake/extern_libs5.lua index 54924e4516..88a7af117d 100644 --- a/build/premake/extern_libs5.lua +++ b/build/premake/extern_libs5.lua @@ -152,15 +152,15 @@ end -- * extern_lib: to be used in the libpath. -- -- add_default_links --- Description: Adds links to libraries and configures delayloading. --- If the *_names parameter for a plattform is missing, no linking will be done --- on that plattform. --- The default assumptions are: --- * debug import library and DLL are distinguished with a "d" suffix --- * the library should be marked for delay-loading. --- Parameters: +-- Description: Adds links to libraries and configures delayloading. +-- If the *_names parameter for a plattform is missing, no linking will be done +-- on that plattform. +-- The default assumptions are: +-- * debug import library and DLL are distinguished with a "d" suffix +-- * the library should be marked for delay-loading. +-- Parameters: -- * win_names: table of import library / DLL names (no extension) when --- running on Windows. +-- running on Windows. -- * unix_names: as above; shared object names when running on non-Windows. -- * osx_names: as above; for OS X specifically (overrides unix_names if both are -- specified) @@ -368,6 +368,8 @@ extern_lib_defs = { add_default_links({ win_names = { "libcurl" }, unix_names = { "curl" }, + osx_names = { "curl", "z" }, + osx_frameworks = { "Security" } }) end, },