Skip to content

Commit 127d678

Browse files
committed
rpath for linux
1 parent 1fa9c61 commit 127d678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ project("aws-advanced-odbc-wrapper")
1919
set(CMAKE_CXX_STANDARD 20)
2020
set(CMAKE_CXX_STANDARD_REQUIRED ON)
2121
set(CMAKE_SHARED_LIBRARY_PREFIX "")
22-
set(CMAKE_BUILD_RPATH @loader_path)
22+
list(APPEND CMAKE_BUILD_RPATH "@loader_path;$ORIGIN")
2323
set(USE_ASAN OFF CACHE BOOL "Toggle to use Address Sanitizer")
2424

2525
# Sources ----------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)