Skip to content

Commit f1e40b3

Browse files
BlockMechanicicota
authored andcommitted
Update bitcoin_qt.m4
Fix to allow configure to detect at
1 parent b4057d8 commit f1e40b3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build-aux/m4/bitcoin_qt.m4

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
116116
if test "x$bitcoin_cv_static_qt" = xyes; then
117117
_BITCOIN_QT_FIND_STATIC_PLUGINS
118118
AC_DEFINE(QT_STATICPLUGIN, 1, [Define this symbol if qt plugins are static])
119-
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QMinimalIntegrationPlugin)],[-lqminimal])
120-
AC_DEFINE(QT_QPA_PLATFORM_MINIMAL, 1, [Define this symbol if the minimal qt platform exists])
119+
if test "x$TARGET_OS" != xandroid; then
120+
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QMinimalIntegrationPlugin)],[-lqminimal])
121+
AC_DEFINE(QT_QPA_PLATFORM_MINIMAL, 1, [Define this symbol if the minimal qt platform exists])
122+
fi
121123
if test "x$TARGET_OS" = xwindows; then
122124
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)],[-lqwindows])
123125
AC_DEFINE(QT_QPA_PLATFORM_WINDOWS, 1, [Define this symbol if the qt platform is windows])

0 commit comments

Comments
 (0)