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.
2 parents 8e99999 + 90c1be0 commit 884946dCopy full SHA for 884946d
tools/repl/swift/CMakeLists.txt
@@ -5,6 +5,7 @@ if (LLDB_BUILD_FRAMEWORK)
5
elseif( CMAKE_SYSTEM_NAME MATCHES "Linux" )
6
# Set the correct rpath to locate libswiftCore
7
set(CMAKE_EXE_LINKER_FLAGS "-Wl,-rpath,${CMAKE_BINARY_DIR}/../swift-linux-x86_64/lib${LLVM_LIBDIR_SUFFIX}/swift/linux -Wl,-ldl")
8
+ set(CMAKE_INSTALL_RPATH "$ORIGIN/../lib/swift/linux:${CMAKE_INSTALL_RPATH}")
9
endif()
10
11
add_lldb_tool(repl_swift
0 commit comments