Fix curl build on Mac

This commit is contained in:
def 2017-07-17 19:42:57 +02:00
parent 97fdc8313a
commit 718aa5bdfc
2 changed files with 3 additions and 0 deletions

View file

@ -47,6 +47,8 @@ Curl = {
if platform == "macosx" then
settings.link.libs:Add("curl")
settings.link.frameworks:Add("Foundation")
settings.link.frameworks:Add("Security")
elseif family ~= "windows" then
settings.link.libs:Add("curl")
settings.link.libs:Add("ssl")
@ -61,6 +63,7 @@ Curl = {
settings.link.libpath:Add("other/curl/mac/lib32")
elseif platform == "macosx" and string.find(settings.config_name, "64") then
settings.link.libpath:Add("other/curl/mac/lib64")
settings.link.libpath:Add("other/curl/mac/lib64")
elseif platform == "linux" then
settings.link.libpath:Add("other/curl/linux/lib64")
settings.link.libpath:Add("other/curl/linux/lib32")

Binary file not shown.