You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #18298: build: Fix Qt processing of configure script for depends with DEBUG=1
76f52e3 build: Fix Qt processing of configure script for depends with DEBUG=1 (Hennadii Stepanov)
Pull request description:
This PR:
- makes the `configure` script correctly pickup Qt if depends is built with `DEBUG=1`:
- for Windows -- fix #19266
- for macOS -- fix #16391
- is an alternative to #18117 (without downsides)
ACKs for top commit:
fanquake:
ACK 76f52e3. Tested native darwin, and darwin/win cross compile with `DEBUG=1`.
Tree-SHA512: 8fde99302b4b06faf109315bddba9e3063b156c50f8f9863c2bd51718538c719429a63fdced071730c18022f2e559d3b25c1dcec3efa81fe79f657253680956a
Copy file name to clipboardExpand all lines: build-aux/m4/bitcoin_qt.m4
+27-20Lines changed: 27 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,13 @@ AC_DEFUN([BITCOIN_QT_INIT],[
64
64
],
65
65
[bitcoin_qt_want_version=auto])
66
66
67
+
AS_IF([test "x$with_gui" = xqt5_debug],
68
+
[AS_CASE([$host],
69
+
[*darwin*], [qt_lib_suffix=_debug],
70
+
[*mingw*], [qt_lib_suffix=d],
71
+
[qt_lib_suffix= ]); bitcoin_qt_want_version=qt5],
72
+
[qt_lib_suffix= ])
73
+
67
74
AC_ARG_WITH([qt-incdir],[AS_HELP_STRING([--with-qt-incdir=INC_DIR],[specify qt include path (overridden by pkgconfig)])], [qt_include_path=$withval], [])
68
75
AC_ARG_WITH([qt-libdir],[AS_HELP_STRING([--with-qt-libdir=LIB_DIR],[specify qt lib path (overridden by pkgconfig)])], [qt_lib_path=$withval], [])
69
76
AC_ARG_WITH([qt-plugindir],[AS_HELP_STRING([--with-qt-plugindir=PLUGIN_DIR],[specify qt plugin path (overridden by pkgconfig)])], [qt_plugin_path=$withval], [])
@@ -285,13 +292,13 @@ dnl Output: QT_LIBS is prepended or configure exits.
0 commit comments