Commit efebb398 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

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.
parent 9d687a69
...@@ -177,6 +177,6 @@ SET(LIBEDIT_SOURCES ...@@ -177,6 +177,6 @@ SET(LIBEDIT_SOURCES
${AHDR} ${AHDR}
${LIBEDIT_EXTRA_SOURCES} ${LIBEDIT_EXTRA_SOURCES}
) )
ADD_LIBRARY(edit ${LIBEDIT_SOURCES}) ADD_LIBRARY(edit STATIC ${LIBEDIT_SOURCES})
TARGET_LINK_LIBRARIES(edit ${CURSES_LIBRARY}) TARGET_LINK_LIBRARIES(edit ${CURSES_LIBRARY})
...@@ -20,7 +20,7 @@ ADD_DEFINITIONS(-DHAVE_CONFIG_H -DNO_KILL_INTR) ...@@ -20,7 +20,7 @@ ADD_DEFINITIONS(-DHAVE_CONFIG_H -DNO_KILL_INTR)
INCLUDE_DIRECTORIES(${CURSES_INCLUDE_PATH}) INCLUDE_DIRECTORIES(${CURSES_INCLUDE_PATH})
ADD_LIBRARY(readline ADD_LIBRARY(readline STATIC
readline.c readline.c
funmap.c funmap.c
keymaps.c keymaps.c
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment