We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
BINARY_LINK_TYPE=dynamic
1 parent a567268 commit 71b073eCopy full SHA for 71b073e
CMakeLists.txt
@@ -1220,6 +1220,9 @@ endif()
1220
if(NOT BINARY_LINK_TYPE STREQUAL "dlopen")
1221
message(STATUS "Enabling custom link type: ${BINARY_LINK_TYPE}")
1222
target_compile_definitions(libfastfetch PRIVATE FF_DISABLE_DLOPEN=1)
1223
+ if(NOT WIN32)
1224
+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--copy-dt-needed-entries")
1225
+ endif()
1226
endif()
1227
1228
function(ff_lib_enable VARNAME PKGCONFIG_NAMES CMAKE_NAME)
0 commit comments