mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fix bam.lua for windows and os x
This commit is contained in:
parent
bf518df74d
commit
0172bdc524
5
bam.lua
5
bam.lua
|
@ -148,8 +148,6 @@ function build(settings)
|
|||
--settings.link.flags:Add("-m32")
|
||||
settings.link.flags:Add("-static-libgcc")
|
||||
settings.link.flags:Add("-static-libstdc++")
|
||||
settings.link.flags:Add("-ldl")
|
||||
settings.link.flags:Add("-lrt")
|
||||
|
||||
cflags = os.getenv("CFLAGS")
|
||||
if cflags then
|
||||
|
@ -186,8 +184,11 @@ function build(settings)
|
|||
if platform == "macosx" then
|
||||
settings.link.frameworks:Add("Carbon")
|
||||
settings.link.frameworks:Add("AppKit")
|
||||
settings.link.libs:Add("dl")
|
||||
else
|
||||
settings.link.libs:Add("pthread")
|
||||
settings.link.libs:Add("dl")
|
||||
settings.link.libs:Add("rt")
|
||||
end
|
||||
|
||||
if platform == "solaris" then
|
||||
|
|
Loading…
Reference in a new issue