summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd-line-utils/libedit/CMakeLists.txt2
-rw-r--r--cmd-line-utils/readline/CMakeLists.txt2
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