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.
This commit is contained in:
Vladislav Vaintroub 2012-01-09 21:15:34 +01:00
parent 9d687a69a0
commit efebb39866
2 changed files with 2 additions and 2 deletions
cmd-line-utils

View file

@ -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})

View file

@ -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