supercede LD_LIBRARY_PATH for dfhack libs

develop
Myk Taylor 2023-08-17 02:33:13 -07:00
parent 790f0ff628
commit e7ebaf6a7a
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -227,7 +227,7 @@ if(UNIX)
# default to hidden symbols # default to hidden symbols
# ensure compatibility with older CPUs # ensure compatibility with older CPUs
add_definitions(-DLINUX_BUILD) add_definitions(-DLINUX_BUILD)
set(GCC_COMMON_FLAGS "-fvisibility=hidden -mtune=generic -Wall -Werror") set(GCC_COMMON_FLAGS "-fvisibility=hidden -mtune=generic -Wall -Werror -Wl,--disable-new-dtags")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -g") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -g")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GCC_COMMON_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GCC_COMMON_FLAGS}")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GCC_COMMON_FLAGS}") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GCC_COMMON_FLAGS}")