Skip to content

Commit

Permalink
Fix missing rpath for finding libd
Browse files Browse the repository at this point in the history
  • Loading branch information
ekilmer authored and haampie committed Jun 9, 2020
1 parent ac49ac3 commit 7d11c23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/src/a/b/c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ set(CMAKE_SKIP_BUILD_RPATH TRUE)

add_library(libc SHARED ${CMAKE_CURRENT_LIST_DIR}/libc.c)
target_link_libraries(libc PRIVATE libd)
set_target_properties(libc PROPERTIES LINK_FLAGS "-Wl,--disable-new-dtags,-rpath,$ORIGIN/../..")

0 comments on commit 7d11c23

Please sign in to comment.