8000 fix: Update shared library rpath · heimoshuiyu/llama-cpp-python@139774b · GitHub
[go: up one dir, main page]

Skip to content

Commit 139774b

Browse files
committed
fix: Update shared library rpath
1 parent 92bad6e commit 139774b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (LLAMA_BUILD)
2727
# Add the automatically determined parts of the RPATH
2828
# which point to directories outside the build tree to the install RPATH
2929
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
30-
set(CMAKE_INSTALL_RPATH "${LLAMA_CPP_PYTHON_INSTALL_DIR}")
30+
set(CMAKE_INSTALL_RPATH "$ORIGIN")
3131

3232
# Building llama
3333
if (APPLE AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "arm64")

0 commit comments

Comments
 (0)
0