XMake: Add dl and pthread links (fixes Linux compilation)

This commit is contained in:
Jérôme Leclercq 2021-05-29 23:18:43 +02:00
parent 557c23a9fa
commit ca51ab16c9
1 changed files with 7 additions and 1 deletions

View File

@ -3,7 +3,13 @@ local modules = {
Deps = {"NazaraCore"},
Packages = {"dr_wav", "libsndfile", "minimp3"}
},
Core = {},
Core = {
Custom = function ()
if is_plat("linux") then
add_syslinks("dl", "pthread")
end
end
},
Graphics = {
Deps = {"NazaraRenderer"}
},