Update CreatureLib to changed stacktraces in Arbutils.
continuous-integration/drone/push Build is passing Details

Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
Deukhoofd 2021-03-26 14:09:22 +01:00
parent 9b7c271a20
commit 6ef8edc2df
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 2 additions and 1 deletions

View File

@ -84,12 +84,13 @@ endif (WINDOWS)
# Set up links to all relevant libraries. # Set up links to all relevant libraries.
SET(_LIBRARYLINKS Arbutils) SET(_LIBRARYLINKS Arbutils)
if (NOT WINDOWS) if (NOT WINDOWS)
set(_LIBRARYLINKS ${_LIBRARYLINKS} -ldw) set(_LIBRARYLINKS ${_LIBRARYLINKS} -lbfd -ldl)
endif () endif ()
# If we need to link the C libraries statically, do so. # If we need to link the C libraries statically, do so.
if (STATICC) if (STATICC)
message(STATUS "Linking C statically.") message(STATUS "Linking C statically.")
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed")
SET(_LIBRARYLINKS ${_LIBRARYLINKS} -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread) SET(_LIBRARYLINKS ${_LIBRARYLINKS} -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread)
endif () endif ()