Skip to content

Commit

Permalink
Set RPATH on krnlmon library (#153)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Foster <[email protected]>
  • Loading branch information
ffoulkes authored Jul 9, 2024
1 parent 8c4b89c commit 9ce49c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Bazel
/bazel-*
.bazelrc
MODULE.bazel
MODULE.bazel.lock

# CMake
/build/
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ set_target_properties(switchutils_o PROPERTIES LINKER_LANGUAGE "C")
target_link_libraries(krnlmon PkgConfig::nl3 PkgConfig::nl3-route)
target_link_libraries(krnlmon absl::synchronization)

set_install_rpath(krnlmon ${DEP_ELEMENT})

#################
# libkrnlmon.pc #
#################
Expand Down

0 comments on commit 9ce49c4

Please sign in to comment.