summaryrefslogtreecommitdiff
path: root/cmd-line-utils/readline
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-01-09 21:15:34 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2012-01-09 21:15:34 +0100
commitefebb398660194a0a2cf037e001756b91d7fc916 (patch)
tree06ac09425f6dc120ec27330a011ab07cfa83e5a3 /cmd-line-utils/readline
parent9d687a69a021d55d8af289af54367697f74815a8 (diff)
downloadmariadb-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/readline')
-rw-r--r--cmd-line-utils/readline/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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