summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2013-03-03 14:25:52 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2013-03-03 14:25:52 (GMT)
commitc31652d67d76978e3e17df81013cc90244cabe0d (patch)
tree5025e64cf8aa8768c4b7918a827dace79b3c557a
parent42b0a64885d45a49313046b2ab11bb95f91684cc (diff)
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>
-rw-r--r--scripts/build/debug/300-gdb.sh2
1 files changed, 1 insertions, 1 deletions
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")