build: Fix Qt processing of configure script for depends with DEBUG=1

Now, if depends is built with DEBUG=1, the configure script correctly
finds Qt for macOS and Windows.
This commit is contained in:
Hennadii Stepanov
2020-03-09 14:40:21 +02:00
parent 5082324225
commit 76f52e3da3
2 changed files with 31 additions and 20 deletions

View File

@@ -54,6 +54,10 @@ if test -z "$with_gui" && test -n "@no_qt@"; then
with_gui=no
fi
if test -n "@debug@" && test -z "@no_qt@" && test "x$with_gui" != xno; then
with_gui=qt5_debug
fi
if test -z "$enable_zmq" && test -n "@no_zmq@"; then
enable_zmq=no
fi