Commit 74919cbc authored by nanahira's avatar nanahira

remove

parent 34f5d366
...@@ -104,12 +104,9 @@ project "YGOPro" ...@@ -104,12 +104,9 @@ project "YGOPro"
end end
filter "system:linux" filter "system:linux"
links { "GL", "X11", "Xxf86vm" } links { "GL", "X11", "Xxf86vm", "dl", "pthread" }
linkoptions { "-fopenmp", "-static-libstdc++", "-static-libgcc" } linkoptions { "-fopenmp", "-static-libstdc++", "-static-libgcc" }
if USE_AUDIO and AUDIO_LIB == "irrklang" then if USE_AUDIO and AUDIO_LIB == "irrklang" then
links { "IrrKlang" } links { "IrrKlang" }
linkoptions{ IRRKLANG_LINK_RPATH } linkoptions{ IRRKLANG_LINK_RPATH }
end end
if GLIBC_VERSION < ((2 << 16) | (34 << 8)) then -- glibc less than 2.34
links { "dl", "pthread" }
end
...@@ -394,16 +394,6 @@ function getGlibcVersion() ...@@ -394,16 +394,6 @@ function getGlibcVersion()
return 0 return 0
end end
GLIBC_VERSION=0
if os.ishost("linux") then
GLIBC_VERSION = getGlibcVersion()
if GLIBC_VERSION>0 then
print("Detected glibc version: " .. string.format("%d.%d.%d", GLIBC_VERSION >> 16, (GLIBC_VERSION >> 8) & 0xFF, GLIBC_VERSION & 0xFF))
else
print("Could not detect glibc version, assuming it is insufficient.")
end
end
workspace "YGOPro" workspace "YGOPro"
location "build" location "build"
language "C++" language "C++"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment