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:
Vendored
+1
-1
@@ -265,7 +265,7 @@ list(APPEND TOMCRYPT_HPP
|
||||
|
||||
source_group("headers" FILES ${TOMCRYPT_HPP})
|
||||
|
||||
add_library("tomcrypt" ${TOMCRYPT_SRC} ${TOMCRYPT_HPP})
|
||||
add_library("tomcrypt" STATIC ${TOMCRYPT_SRC} ${TOMCRYPT_HPP})
|
||||
|
||||
set_property(TARGET "tomcrypt" PROPERTY FOLDER "External Libraries")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user