mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix curl build on Mac
This commit is contained in:
parent
97fdc8313a
commit
718aa5bdfc
|
@ -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.
Loading…
Reference in a new issue