mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-29 18:01:28 +02:00
build, refactor: Rename internal _BITCOIN_QT_FIND_STATIC_PLUGINS macro
New _BITCOIN_QT_CHECK_STATIC_LIBS name describes the macro functionality more precisely.
This commit is contained in:
@@ -120,7 +120,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
|
|||||||
CXXFLAGS="$PIC_FLAGS $CXXFLAGS"
|
CXXFLAGS="$PIC_FLAGS $CXXFLAGS"
|
||||||
_BITCOIN_QT_IS_STATIC
|
_BITCOIN_QT_IS_STATIC
|
||||||
if test "x$bitcoin_cv_static_qt" = xyes; then
|
if test "x$bitcoin_cv_static_qt" = xyes; then
|
||||||
_BITCOIN_QT_FIND_STATIC_PLUGINS
|
_BITCOIN_QT_CHECK_STATIC_LIBS
|
||||||
AC_DEFINE(QT_STATICPLUGIN, 1, [Define this symbol if qt plugins are static])
|
AC_DEFINE(QT_STATICPLUGIN, 1, [Define this symbol if qt plugins are static])
|
||||||
if test "x$TARGET_OS" != xandroid; then
|
if test "x$TARGET_OS" != xandroid; then
|
||||||
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QMinimalIntegrationPlugin], [-lqminimal])
|
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QMinimalIntegrationPlugin], [-lqminimal])
|
||||||
@@ -301,10 +301,14 @@ AC_DEFUN([_BITCOIN_QT_CHECK_STATIC_PLUGIN], [
|
|||||||
LIBS="$CHECK_STATIC_PLUGINS_TEMP_LIBS"
|
LIBS="$CHECK_STATIC_PLUGINS_TEMP_LIBS"
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Internal. Find paths necessary for linking qt static plugins
|
dnl Internal. Check Qt static libs with PKG_CHECK_MODULES.
|
||||||
dnl Inputs: qt_plugin_path. optional.
|
dnl
|
||||||
|
dnl _BITCOIN_QT_CHECK_STATIC_LIBS
|
||||||
|
dnl -----------------------------
|
||||||
|
dnl
|
||||||
|
dnl Inputs: no inputs.
|
||||||
dnl Outputs: QT_LIBS is appended
|
dnl Outputs: QT_LIBS is appended
|
||||||
AC_DEFUN([_BITCOIN_QT_FIND_STATIC_PLUGINS],[
|
AC_DEFUN([_BITCOIN_QT_CHECK_STATIC_LIBS], [
|
||||||
if test "x$qt_plugin_path" != x; then
|
if test "x$qt_plugin_path" != x; then
|
||||||
QT_LIBS="$QT_LIBS -L$qt_plugin_path/platforms"
|
QT_LIBS="$QT_LIBS -L$qt_plugin_path/platforms"
|
||||||
if test -d "$qt_plugin_path/accessible"; then
|
if test -d "$qt_plugin_path/accessible"; then
|
||||||
|
Reference in New Issue
Block a user