XMake: Add dl and pthread links (fixes Linux compilation)
This commit is contained in:
parent
557c23a9fa
commit
ca51ab16c9
|
|
@ -3,7 +3,13 @@ local modules = {
|
||||||
Deps = {"NazaraCore"},
|
Deps = {"NazaraCore"},
|
||||||
Packages = {"dr_wav", "libsndfile", "minimp3"}
|
Packages = {"dr_wav", "libsndfile", "minimp3"}
|
||||||
},
|
},
|
||||||
Core = {},
|
Core = {
|
||||||
|
Custom = function ()
|
||||||
|
if is_plat("linux") then
|
||||||
|
add_syslinks("dl", "pthread")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
},
|
||||||
Graphics = {
|
Graphics = {
|
||||||
Deps = {"NazaraRenderer"}
|
Deps = {"NazaraRenderer"}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue