diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-02-14 18:07:42 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-02-14 18:07:42 +0100 |
commit | 8877f1c32566b32bf9c598052e8f866a361190fb (patch) | |
tree | 5fe253a55ed1946731ec1d26d251d4933761d3ae | |
parent | f76d5fefb818760f41488c1793fca27d97c9c2a0 (diff) | |
download | mariadb-git-8877f1c32566b32bf9c598052e8f866a361190fb.tar.gz |
MDEV-12056 mysql_config outputs non-existing mysqlclient
Change output of mysql_config --libs to have -lmariadb instead of
-lmysqlclient
Static linking is not yet supported, because static library has different
base name ( libmariadbclient.a static vs libmariadb.so shared)
-rw-r--r-- | cmake/for_clients.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/for_clients.cmake b/cmake/for_clients.cmake index dd79ea1039d..f6a076f9632 100644 --- a/cmake/for_clients.cmake +++ b/cmake/for_clients.cmake @@ -45,10 +45,10 @@ MACRO(EXTRACT_LINK_LIBRARIES target var) ENDIF() ENDMACRO() -EXTRACT_LINK_LIBRARIES(mysqlclient LIBS) +EXTRACT_LINK_LIBRARIES(mariadb LIBS) EXTRACT_LINK_LIBRARIES(mysqlserver EMB_LIBS) -SET(LIBS "-lmysqlclient ${ZLIB_DEPS} ${LIBS} ${openssl_libs}") +SET(LIBS "-lmariadb ${ZLIB_DEPS} ${LIBS} ${openssl_libs}") SET(EMB_LIBS "-lmysqld ${ZLIB_DEPS} ${EMB_LIBS} ${openssl_libs}") MACRO(REPLACE_FOR_CLIENTS VAR) |