summaryrefslogtreecommitdiff
path: root/cmd-line-utils
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@fe>2009-12-19 22:15:10 +0100
committerVladislav Vaintroub <vvaintroub@fe>2009-12-19 22:15:10 +0100
commit728c437a85b120db5e6c02fd801ab116d3eaccb2 (patch)
tree4bd2393cb8cd2c6bf70130ea12d6e867ca0e8701 /cmd-line-utils
parent3de04825514e4dc3fd6f1a8f5eb18a280f817699 (diff)
downloadmariadb-git-728c437a85b120db5e6c02fd801ab116d3eaccb2.tar.gz
Fix build with LDFLAGS=--Wl,--as-needed on Linux
Diffstat (limited to 'cmd-line-utils')
-rw-r--r--cmd-line-utils/libedit/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-line-utils/libedit/CMakeLists.txt b/cmd-line-utils/libedit/CMakeLists.txt
index 763da8a4e04..517cbb4211f 100644
--- a/cmd-line-utils/libedit/CMakeLists.txt
+++ b/cmd-line-utils/libedit/CMakeLists.txt
@@ -18,7 +18,7 @@ INCLUDE(CheckIncludeFile)
include(CheckFunctionExists)
CHECK_INCLUDE_FILES(term.h HAVE_TERM_H)
-SET(CMAKE_REQUIRED_LIBRARIES ${CURSES_CURSES_LIBRARY})
+SET(CMAKE_REQUIRED_LIBRARIES ${CURSES_LIBRARY})
CHECK_CXX_SOURCE_COMPILES("
#include <term.h>
int main()