Compile dependencies statically into the binary.

On Linux when building this under RPM, RPM insisted on linking in
standard system libraries like libpng, libjpeg-turbo, libGLEW,
Lua, etc. This patch causes all dependencies to be statically
compiled into the binary, which is ideal as the alternative is
segfaulting because of incompatible library changes.

StepMania also uses a modified Lua library which exports functions
that don't exist in any standard Lua library, so there's no easy
way around this.
This commit is contained in:
Naftuli Tzvi Kay
2016-02-12 12:07:38 -08:00
parent 9fe6f49a55
commit aa0e8690b7
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ set(LUA_HPP
source_group("" FILES ${LUA_SRC})
source_group("" FILES ${LUA_HPP})
add_library("lua-5.1" ${LUA_SRC} ${LUA_HPP})
add_library("lua-5.1" STATIC ${LUA_SRC} ${LUA_HPP})
set_property(TARGET "lua-5.1" PROPERTY FOLDER "External Libraries")