diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-09-09 19:03:05 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-09-09 19:03:05 +0200 |
commit | ae3cc4f1b7530da66ff1f65d4416451446da36a9 (patch) | |
tree | cdf57d3f4d73a7b5fee979bf699ad3a7c160a011 /client | |
parent | 6b720ae4cb76228accc32c91c2c59eb3aa53b259 (diff) | |
download | mariadb-git-ae3cc4f1b7530da66ff1f65d4416451446da36a9.tar.gz |
MDEV-6561 libedit detection is broken
fix readline/libedit detection:
* search in readline/, editline/ and edit/readline/
* fix typos CMAKE_REQUIRES_LIBRARIES -> CMAKE_REQUIRED_LIBRARIES
* use correct libedit API
* use different cmake variables for libedit and readline
Diffstat (limited to 'client')
-rw-r--r-- | client/mysql.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index 052f0264511..792830fb79c 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -89,7 +89,7 @@ extern "C" { #if defined(__WIN__) #include <conio.h> #else -#include <readline/readline.h> +#include <readline.h> #define HAVE_READLINE #define USE_POPEN #endif |