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/05 17:41:59 UTC

svn commit: r1465015 - /qpid/trunk/qpid/cpp/src/legacystore.cmake

Author: mcpierce
Date: Fri Apr  5 15:41:58 2013
New Revision: 1465015

URL: http://svn.apache.org/r1465015
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/trunk/qpid/cpp/src/legacystore.cmake

Modified: qpid/trunk/qpid/cpp/src/legacystore.cmake
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/legacystore.cmake?rev=1465015&r1=1465014&r2=1465015&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/legacystore.cmake (original)
+++ qpid/trunk/qpid/cpp/src/legacystore.cmake Fri Apr  5 15:41:58 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