summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-03-31 11:40:02 +0200
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-03-31 11:40:02 +0200
commit7ef2f9fa51b0f6979c4c06e5ce89bf544deefb6f (patch)
tree6f752ddec7cfac393291ffdecb85dcece13a0a16 /libmysqld
parent089ff3dfa94fce7f41378180e494811cf8c9fc13 (diff)
downloadmariadb-git-7ef2f9fa51b0f6979c4c06e5ce89bf544deefb6f.tar.gz
Apply wlad fixes from mysql-next-mr-bugfixing
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmysqld/CMakeLists.txt b/libmysqld/CMakeLists.txt
index e5f2a8b56f9..26332cab61b 100644
--- a/libmysqld/CMakeLists.txt
+++ b/libmysqld/CMakeLists.txt
@@ -131,6 +131,11 @@ IF(MSVC)
INSTALL_DEBUG_TARGET(mysqlserver DESTINATION ${INSTALL_LIBDIR}/debug)
ENDIF()
+IF(UNIX)
+ INSTALL_DEBUG_TARGET(mysqlserver DESTINATION ${INSTALL_LIBDIR} RENAME
+ ${CMAKE_STATIC_LIBRARY_PREFIX}/mysqld-debug)
+ENDIF()
+
IF(MSVC AND NOT DISABLE_SHARED)
MERGE_LIBRARIES(libmysqld SHARED ${LIBS} EXPORTS ${CLIENT_API_FUNCTIONS})
ENDIF()