Skip to content

Commit cd26810

Browse files
committed
CMake: Use rpath, not runpath
1 parent 6ae4de1 commit cd26810

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

desktop_version/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ if(NOT WIN32)
5959
elseif(CMAKE_SIZEOF_VOID_P MATCHES "8")
6060
set(BIN_LIBROOT "lib64")
6161
set(BIN_RPATH "\$ORIGIN/lib64")
62+
set(CMAKE_EXE_LINKER_FLAGS "-Wl,--disable-new-dtags")
6263
else()
6364
set(BIN_LIBROOT "lib")
6465
set(BIN_RPATH "\$ORIGIN/lib")

0 commit comments

Comments
 (0)