You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mc...@apache.org on 2013/04/08 15:06:58 UTC
svn commit: r1465621 - /qpid/branches/0.22/qpid/cpp/src/legacystore.cmake
Author: mcpierce
Date: Mon Apr 8 13:06:57 2013
New Revision: 1465621
URL: http://svn.apache.org/r1465621
Log:
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.
Modified:
qpid/branches/0.22/qpid/cpp/src/legacystore.cmake
Modified: qpid/branches/0.22/qpid/cpp/src/legacystore.cmake
URL: http://svn.apache.org/viewvc/qpid/branches/0.22/qpid/cpp/src/legacystore.cmake?rev=1465621&r1=1465620&r2=1465621&view=diff
==============================================================================
--- qpid/branches/0.22/qpid/cpp/src/legacystore.cmake (original)
+++ qpid/branches/0.22/qpid/cpp/src/legacystore.cmake Mon Apr 8 13:06:57 2013
@@ -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)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org