mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 17:33:44 +01:00
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:
parent
9d687a69a0
commit
efebb39866
2 changed files with 2 additions and 2 deletions
cmd-line-utils
|
@ -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})
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue