From 9a65b22f6c25e74d3890461c98927e96f6970f6d Mon Sep 17 00:00:00 2001 From: Abdirahim Musse <33973272+abmusse@users.noreply.github.com> Date: Mon, 15 Jun 2020 12:32:12 -0500 Subject: [PATCH] revert: Add required link libraries (mysys,sql) Initially, mysys and sql was added to link libraries to resolve undefined symbols when this storage engine was built with mariadb using cmake 3.16.0. For now we will fallback and build with cmake 3.7.2 which does not have the undefined symbols issue. Therefore we should revert the change that added mysys and sql to the link libraries. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ad0633..cbb4545 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,7 @@ set(PASELIB_LIBRARIES # -- INSTALL SONAME 'ha_ibmdb2i'; MYSQL_ADD_PLUGIN(ibmdb2i ${IBMDB2I_SOURCES} STORAGE_ENGINE MODULE_ONLY - LINK_LIBRARIES ${PASELIB_LIBRARIES} mysys sql) + LINK_LIBRARIES ${PASELIB_LIBRARIES}) # Dave add -malign-power -malign-natural (below) # Our power engine will run better. Also fewer gcc odd boundary over runs.