# HG changeset patch # User "Yann E. MORIN" # Date 1362320752 -3600 # Node ID 388459fe2c229a713a9290fc819367e65ea0023c # Parent 575a6f1d3b52bd0ff3e0f2550a685caa496caafa 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 -r 575a6f1d3b52 -r 388459fe2c22 scripts/build/debug/300-gdb.sh --- a/scripts/build/debug/300-gdb.sh Sun Mar 03 15:02:32 2013 +0100 +++ b/scripts/build/debug/300-gdb.sh Sun Mar 03 15:25:52 2013 +0100 @@ -215,7 +215,7 @@ 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")