This is an automated email from the ASF dual-hosted git repository. pnoltes pushed a commit to branch hotfix/ensure-origin-rpath-for-bnd-activator-lib in repository https://gitbox.apache.org/repos/asf/celix.git
commit af9118492549a2648a094044f5519ee6d8b98460 Author: Pepijn Noltes <[email protected]> AuthorDate: Fri Aug 4 00:19:11 2023 +0200 Add to BUILD_PATH --- cmake/cmake_celix/BundlePackaging.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/cmake_celix/BundlePackaging.cmake b/cmake/cmake_celix/BundlePackaging.cmake index cbe2f855..6d1ee56d 100644 --- a/cmake/cmake_celix/BundlePackaging.cmake +++ b/cmake/cmake_celix/BundlePackaging.cmake @@ -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)
