File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,9 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
130
130
AX_CHECK_LINK_FLAG ( [ [ -framework IOKit] ] ,[ QT_LIBS="$QT_LIBS -framework IOKit"] ,[ AC_MSG_ERROR ( could not iokit framework ) ] )
131
131
_BITCOIN_QT_CHECK_STATIC_PLUGINS([ Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)] ,[ -lqcocoa] )
132
132
AC_DEFINE ( QT_QPA_PLATFORM_COCOA , 1 , [ Define this symbol if the qt platform is cocoa] )
133
+ elif test "x$TARGET_OS" = xandroid; then
134
+ QT_LIBS="-Wl,--export-dynamic,--undefined=JNI_OnLoad -lqtforandroid -ljnigraphics -landroid -lqtfreetype -lQt5EglSupport $QT_LIBS"
135
+ AC_DEFINE ( QT_QPA_PLATFORM_ANDROID , 1 , [ Define this symbol if the qt platform is android] )
133
136
fi
134
137
fi
135
138
CPPFLAGS=$TEMP_CPPFLAGS
@@ -343,6 +346,9 @@ AC_DEFUN([_BITCOIN_QT_FIND_STATIC_PLUGINS],[
343
346
if test -d "$qt_plugin_path/accessible"; then
344
347
QT_LIBS="$QT_LIBS -L$qt_plugin_path/accessible"
345
348
fi
349
+ if test -d "$qt_plugin_path/platforms/android"; then
350
+ QT_LIBS="$QT_LIBS -L$qt_plugin_path/platforms/android -lqtfreetype -lEGL"
351
+ fi
346
352
if test "x$use_pkgconfig" = xyes; then
347
353
: dnl
348
354
m4_ifdef ( [ PKG_CHECK_MODULES] ,[
You can’t perform that action at this time.
0 commit comments