summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorDarryl L. Pierce <mcpierce@apache.org>2013-04-05 15:41:58 +0000
committerDarryl L. Pierce <mcpierce@apache.org>2013-04-05 15:41:58 +0000
commit1ed8aa63efcd2904ce2c5b2a6b51e4513d3eae03 (patch)
tree0e2f069db63592fb70d6dfa1ed075a8f9c2f3645 /cpp
parent3c40e7be68c9f0b1f083b314e7c546cf283d26e9 (diff)
downloadqpid-python-1ed8aa63efcd2904ce2c5b2a6b51e4513d3eae03.tar.gz
QPID-4704: Build legacystore.so as a module, not a shared library.
Fixes the legacystore.cmake file to build the file appropriately, and als includes a directive to install the module along with others. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1465015 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/legacystore.cmake10
1 files changed, 7 insertions, 3 deletions
diff --git a/cpp/src/legacystore.cmake b/cpp/src/legacystore.cmake
index 10a166f50c..d3c1ea7f7c 100644
--- a/cpp/src/legacystore.cmake
+++ b/cpp/src/legacystore.cmake
@@ -132,17 +132,16 @@ if (BUILD_LEGACYSTORE)
"#include <${DB_INCLUDE_DIR}/db_cxx.h>")
endif()
- add_library (legacystore SHARED
+ add_library (legacystore MODULE
${legacy_jrnl_SOURCES}
${legacy_store_SOURCES}
${legacy_qmf_SOURCES}
)
-
+
set_target_properties (legacystore PROPERTIES
PREFIX ""
COMPILE_DEFINITIONS _IN_QPID_BROKER
OUTPUT_NAME legacystore
- SOVERSION ${legacystore_version}
INCLUDE_DIRECTORIES "${legacy_include_DIRECTORIES}"
)
@@ -152,6 +151,11 @@ if (BUILD_LEGACYSTORE)
qpidcommon qpidtypes qpidbroker
${DB_LIBRARY}
)
+
+install(TARGETS legacystore
+ DESTINATION ${QPIDD_MODULE_DIR}
+ COMPONENT ${QPID_COMPONENT_BROKER})
+
else (BUILD_LEGACYSTORE)
message(STATUS "Legacystore is excluded from build.")
endif (BUILD_LEGACYSTORE)