mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Working compilation on Linux
This commit is contained in:
parent
45fff36957
commit
636f407645
12
bam.lua
12
bam.lua
|
@ -267,6 +267,16 @@ function build(settings)
|
|||
client_settings.link.libs:Add("X11")
|
||||
client_settings.link.libs:Add("GL")
|
||||
client_settings.link.libs:Add("GLU")
|
||||
client_settings.link.libs:Add("opusfile")
|
||||
client_settings.link.libs:Add("opus")
|
||||
client_settings.link.libs:Add("ogg")
|
||||
|
||||
if arch == "amd64" then
|
||||
client_settings.link.libpath:Add("other/opus/linux/lib64")
|
||||
else
|
||||
client_settings.link.libpath:Add("other/opus/linux/lib32")
|
||||
end
|
||||
|
||||
if string.find(settings.config_name, "sql") then
|
||||
if arch == "amd64" then
|
||||
server_settings.link.libpath:Add("other/mysql/linux/lib64")
|
||||
|
@ -280,7 +290,7 @@ function build(settings)
|
|||
client_settings.link.libs:Add("opengl32")
|
||||
client_settings.link.libs:Add("glu32")
|
||||
client_settings.link.libs:Add("winmm")
|
||||
client_settings.link.libs:Add("other/opus/lib32/libopusfile-0")
|
||||
client_settings.link.libs:Add("other/opus/windows/lib32/libopusfile-0")
|
||||
if string.find(settings.config_name, "sql") then
|
||||
server_settings.link.libpath:Add("other/mysql/vc2005libs")
|
||||
server_settings.link.libs:Add("mysqlcppconn")
|
||||
|
|
BIN
other/opus/linux/lib32/libogg.a
Normal file
BIN
other/opus/linux/lib32/libogg.a
Normal file
Binary file not shown.
BIN
other/opus/linux/lib32/libopus.a
Normal file
BIN
other/opus/linux/lib32/libopus.a
Normal file
Binary file not shown.
BIN
other/opus/linux/lib32/libopusfile.a
Normal file
BIN
other/opus/linux/lib32/libopusfile.a
Normal file
Binary file not shown.
BIN
other/opus/linux/lib64/libogg.a
Normal file
BIN
other/opus/linux/lib64/libogg.a
Normal file
Binary file not shown.
BIN
other/opus/linux/lib64/libopus.a
Normal file
BIN
other/opus/linux/lib64/libopus.a
Normal file
Binary file not shown.
BIN
other/opus/linux/lib64/libopusfile.a
Normal file
BIN
other/opus/linux/lib64/libopusfile.a
Normal file
Binary file not shown.
Loading…
Reference in a new issue