mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 21:57:48 +00:00
debug/gdb: fix $need_ncurses_src usage
It should be used only to decide whether we need to download/extract ncurses, not wheter we should build it or not. Reported-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
parent
42b0a64885
commit
c31652d67d
@ -215,7 +215,7 @@ do_debug_gdb_build() {
|
|||||||
native_extra_config=("${extra_config[@]}")
|
native_extra_config=("${extra_config[@]}")
|
||||||
|
|
||||||
# GDB on Mingw depends on PDcurses, not ncurses
|
# GDB on Mingw depends on PDcurses, not ncurses
|
||||||
if [ "${need_ncurses_src}" = "y" ]; then
|
if [ "${CT_MINGW32}" != "y" ]; then
|
||||||
CT_DoLog EXTRA "Building static target ncurses"
|
CT_DoLog EXTRA "Building static target ncurses"
|
||||||
|
|
||||||
[ "${CT_CC_LANG_CXX}" = "y" ] || ncurses_opts+=("--without-cxx" "--without-cxx-binding")
|
[ "${CT_CC_LANG_CXX}" = "y" ] || ncurses_opts+=("--without-cxx" "--without-cxx-binding")
|
||||||
|
Loading…
Reference in New Issue
Block a user