diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-01-09 21:15:34 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-01-09 21:15:34 +0100 |
commit | efebb398660194a0a2cf037e001756b91d7fc916 (patch) | |
tree | 06ac09425f6dc120ec27330a011ab07cfa83e5a3 /cmd-line-utils | |
parent | 9d687a69a021d55d8af289af54367697f74815a8 (diff) | |
download | mariadb-git-efebb398660194a0a2cf037e001756b91d7fc916.tar.gz |
Force bundled readline/libedit build as static library.
Packagers may attempt to outsmart MariaDB/MySQL build system -DBUILD_SHARED_LIBS=1, we need to minimize the damage of such attempts.
Diffstat (limited to 'cmd-line-utils')
-rw-r--r-- | cmd-line-utils/libedit/CMakeLists.txt | 2 | ||||
-rw-r--r-- | cmd-line-utils/readline/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd-line-utils/libedit/CMakeLists.txt b/cmd-line-utils/libedit/CMakeLists.txt index 76fcfc3204e..50b661ed609 100644 --- a/cmd-line-utils/libedit/CMakeLists.txt +++ b/cmd-line-utils/libedit/CMakeLists.txt @@ -177,6 +177,6 @@ SET(LIBEDIT_SOURCES ${AHDR} ${LIBEDIT_EXTRA_SOURCES} ) -ADD_LIBRARY(edit ${LIBEDIT_SOURCES}) +ADD_LIBRARY(edit STATIC ${LIBEDIT_SOURCES}) TARGET_LINK_LIBRARIES(edit ${CURSES_LIBRARY}) diff --git a/cmd-line-utils/readline/CMakeLists.txt b/cmd-line-utils/readline/CMakeLists.txt index abe83b5a85c..c06b9c08c47 100644 --- a/cmd-line-utils/readline/CMakeLists.txt +++ b/cmd-line-utils/readline/CMakeLists.txt @@ -20,7 +20,7 @@ ADD_DEFINITIONS(-DHAVE_CONFIG_H -DNO_KILL_INTR) INCLUDE_DIRECTORIES(${CURSES_INCLUDE_PATH}) -ADD_LIBRARY(readline +ADD_LIBRARY(readline STATIC readline.c funmap.c keymaps.c |