diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2020-01-21 21:41:16 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2020-01-21 21:41:16 +0100 |
commit | 92d6c13206b199f24384ed2504ed479b0f59c314 (patch) | |
tree | 598d221261aea744a3db056866a6a36c2f022e61 /sql/CMakeLists.txt | |
parent | e1b62f30269e098fb092e577529684fa4189516a (diff) | |
download | mariadb-git-92d6c13206b199f24384ed2504ed479b0f59c314.tar.gz |
MDEV-21548 Explicitly declare sql_bultins library STATIC.
Someone tried -DBUILD_SHARED_LIBS:BOOL=ON. This did not work well
Diffstat (limited to 'sql/CMakeLists.txt')
-rw-r--r-- | sql/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt index 437f496f1f1..23c66576b19 100644 --- a/sql/CMakeLists.txt +++ b/sql/CMakeLists.txt @@ -289,7 +289,7 @@ IF(MSVC AND NOT WITHOUT_DYNAMIC_PLUGINS) SET_TARGET_PROPERTIES(mysqld_import_lib PROPERTIES IMPORTED_LOCATION ${MYSQLD_LIB}) ENDIF() -ADD_LIBRARY( sql_builtins ${CMAKE_CURRENT_BINARY_DIR}/sql_builtin.cc) +ADD_LIBRARY(sql_builtins STATIC ${CMAKE_CURRENT_BINARY_DIR}/sql_builtin.cc) TARGET_LINK_LIBRARIES(sql_builtins ${MYSQLD_STATIC_PLUGIN_LIBS}) MYSQL_ADD_EXECUTABLE(mysqld ${MYSQLD_SOURCE} DESTINATION ${INSTALL_SBINDIR} COMPONENT Server) |