aboutsummaryrefslogtreecommitdiff
path: root/depends/config.site.in
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-03-09 14:40:21 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-01-08 10:48:22 +0200
commit76f52e3da359c3738d36bc20ac13a8ccd17e4e9f (patch)
tree45c96575ccab475ac6f869e40b5033f1ee6c5b2e /depends/config.site.in
parent5082324225bf9b7f59a6a7efe3d1225fcacbc627 (diff)
downloadbitcoin-76f52e3da359c3738d36bc20ac13a8ccd17e4e9f.tar.xz
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.
Diffstat (limited to 'depends/config.site.in')
-rw-r--r--depends/config.site.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/depends/config.site.in b/depends/config.site.in
index 391767357a..f1a59a5861 100644
--- a/depends/config.site.in
+++ b/depends/config.site.in
@@ -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