Page MenuHomeWildfire Games
Paste P118

OSX curl fix
ArchivedPublic

Authored by Itms on Apr 22 2018, 3:01 PM.
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: <libraryname> 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,
},

Event Timeline

Itms created this paste.Apr 22 2018, 3:01 PM
Itms created this object with visibility "Public (No Login Required)".
Itms added a comment.Apr 24 2018, 6:01 PM

Superseded by D1468.

Itms archived this paste.Apr 24 2018, 6:01 PM