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
commit5c7a62287eea3d738940535c5212352ddf6a12f9 (patch)
tree4bd2393cb8cd2c6bf70130ea12d6e867ca0e8701 /cmd-line-utils
parentcd94452eda6491d72e34983f0cba26ca6344e34b (diff)
downloadmariadb-git-5c7a62287eea3d738940535c5212352ddf6a12f9.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()