Merge pull request #1299 from jagerman/no-readline

Disable readline in static build
This commit is contained in:
Jason Rhinelander 2020-10-02 18:07:57 -03:00 committed by GitHub
commit 35e49dab57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -363,6 +363,7 @@ if (NOT WIN32)
if(FALSE) # not working reliably
build_external(readline
DEPENDS ncurses_external
CONFIGURE_COMMAND ./configure ${cross_host} --prefix=${DEPS_DESTDIR} --disable-shared --with-curses
@ -376,6 +377,7 @@ if (NOT WIN32)
set_target_properties(readline PROPERTIES
INTERFACE_LINK_LIBRARIES ncurses_tinfo
INTERFACE_COMPILE_DEFINITIONS HAVE_READLINE)
endif()
endif()