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

astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git

commit e6d9ceb329629334e90298e00ef1195c8b432a26
Author: Andrew Stitcher <[email protected]>
AuthorDate: Thu May 8 17:15:32 2025 -0400

    PROTON-2896: [C++] Give the -cpp dynamic library $ORIGIN as its RPATH
    
    This allows any executables using it to find the -core and -proactor
    shared libraries installed in the same directory where it itself is
    installed.
---
 cpp/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index 177573776..287bbb5af 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -156,6 +156,7 @@ set_target_properties (
   SOVERSION "${PN_LIB_CPP_MAJOR_VERSION}"
   LINK_FLAGS "${CATCH_UNDEFINED}"
   EXPORT_NAME cpp
+  INSTALL_RPATH "$ORIGIN"
   )
 
 ## Install


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to