summaryrefslogtreecommitdiff
path: root/client/CMakeLists.txt
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2012-02-22 12:14:34 +0100
committerunknown <knielsen@knielsen-hq.org>2012-02-22 12:14:34 +0100
commit9305f2b52f8a219737653fa88ba022c901f2831b (patch)
tree4b00876e2caec3792a3a61b1e084e10d0d0e270f /client/CMakeLists.txt
parentf2db5ef4ba128c86d02e6571f9aba907b8ea64c3 (diff)
parent925942e7af49eebc5ffeff705bb2167eb86a9dcb (diff)
downloadmariadb-git-9305f2b52f8a219737653fa88ba022c901f2831b.tar.gz
Merge latest MariaDB 5.5 into MWL#192: Non-blocking client library.
Diffstat (limited to 'client/CMakeLists.txt')
-rw-r--r--client/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt
index d29cc902aa3..fb8b123b9d6 100644
--- a/client/CMakeLists.txt
+++ b/client/CMakeLists.txt
@@ -31,12 +31,13 @@ MYSQL_ADD_EXECUTABLE(mysql completion_hash.cc mysql.cc readline.cc
TARGET_LINK_LIBRARIES(mysql mysqlclient)
IF(UNIX)
TARGET_LINK_LIBRARIES(mysql ${MY_READLINE_LIBRARY})
- SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic")
+ SET_TARGET_PROPERTIES(mysql PROPERTIES ENABLE_EXPORTS TRUE)
ENDIF(UNIX)
MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test)
SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS")
TARGET_LINK_LIBRARIES(mysqltest mysqlclient regex)
+SET_TARGET_PROPERTIES(mysqltest PROPERTIES ENABLE_EXPORTS TRUE)
MYSQL_ADD_EXECUTABLE(mysqlcheck mysqlcheck.c)