Skip to content

Commit

Permalink
Merge pull request apache#606 from apache/hotfix/ensure-origin-rpath-…
Browse files Browse the repository at this point in the history
…for-bnd-activator-lib

Add  to BUILD_PATH
  • Loading branch information
PengZheng authored Aug 4, 2023
2 parents 2eae9c2 + af91184 commit 8695bd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/cmake_celix/BundlePackaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,10 @@ function(add_celix_bundle)

if(APPLE)
set_target_properties(${BUNDLE_TARGET_NAME} PROPERTIES INSTALL_RPATH "@loader_path")
set_target_properties(${BUNDLE_TARGET_NAME} PROPERTIES BUILD_RPATH "@loader_path")
else()
set_target_properties(${BUNDLE_TARGET_NAME} PROPERTIES INSTALL_RPATH "$ORIGIN")
set_target_properties(${BUNDLE_TARGET_NAME} PROPERTIES BUILD_RPATH "$ORIGIN")
endif()

if (NOT BUNDLE_DO_NOT_CONFIGURE_SYMBOL_VISIBILITY)
Expand Down

0 comments on commit 8695bd7

Please sign in to comment.