XMake: Add dl and pthread links (fixes Linux compilation)
This commit is contained in:
@@ -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"}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user