Skip to content

Commit f22ae5f

Browse files
committed
CMake: Use rpath, not runpath
1 parent 529ff46 commit f22ae5f

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
@@ -54,6 +54,7 @@ if(NOT WIN32)
5454
elseif(CMAKE_SIZEOF_VOID_P MATCHES "8")
5555
set(BIN_LIBROOT "lib64")
5656
set(BIN_RPATH "\$ORIGIN/lib64")
57+
set(CMAKE_EXE_LINKER_FLAGS "-Wl,--disable-new-dtags")
5758
else()
5859
set(BIN_LIBROOT "lib")
5960
set(BIN_RPATH "\$ORIGIN/lib")

0 commit comments

Comments
 (0)