This is an automated email from the ASF dual-hosted git repository.

pengzheng pushed a commit to branch 
hotfix/ensure-origin-rpath-for-bnd-activator-lib
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to 
refs/heads/hotfix/ensure-origin-rpath-for-bnd-activator-lib by this push:
     new c4544711 Remove unnecessary BUILD_RPATH setting.
c4544711 is described below

commit c4544711f57c504009654f593b670f1274b4bd35
Author: PengZheng <[email protected]>
AuthorDate: Sat Aug 5 19:58:32 2023 +0800

    Remove unnecessary BUILD_RPATH setting.
---
 cmake/cmake_celix/BundlePackaging.cmake | 2 --
 1 file changed, 2 deletions(-)

diff --git a/cmake/cmake_celix/BundlePackaging.cmake 
b/cmake/cmake_celix/BundlePackaging.cmake
index 4edeeccf..336ad538 100644
--- a/cmake/cmake_celix/BundlePackaging.cmake
+++ b/cmake/cmake_celix/BundlePackaging.cmake
@@ -361,10 +361,8 @@ 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)

Reply via email to