From c31652d67d76978e3e17df81013cc90244cabe0d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 3 Mar 2013 15:25:52 +0100 Subject: 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 Signed-off-by: "Yann E. MORIN" diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index 2d52909..6cbefa4 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -215,7 +215,7 @@ do_debug_gdb_build() { native_extra_config=("${extra_config[@]}") # 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_CC_LANG_CXX}" = "y" ] || ncurses_opts+=("--without-cxx" "--without-cxx-binding") -- cgit v0.10.2-6-g49f6