Skip to content

Commit fded4f4

Browse files
committed
build: Remove duplicated QT_STATICPLUGIN define
QT_STATICPLUGIN is defined in BITCOIN_QT_CONFIGURE macro.
1 parent 05a93d5 commit fded4f4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

build-aux/m4/bitcoin_qt.m4

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ dnl Internal. Check if the linked version of Qt was built as static libs.
246246
dnl Requires: Qt5.
247247
dnl Requires: INCLUDES and LIBS must be populated as necessary.
248248
dnl Output: bitcoin_cv_static_qt=yes|no
249-
dnl Output: Defines QT_STATICPLUGIN if plugins are static.
250249
AC_DEFUN([_BITCOIN_QT_IS_STATIC],[
251250
AC_CACHE_CHECK(for static Qt, bitcoin_cv_static_qt,[
252251
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
@@ -263,9 +262,6 @@ AC_DEFUN([_BITCOIN_QT_IS_STATIC],[
263262
[bitcoin_cv_static_qt=yes],
264263
[bitcoin_cv_static_qt=no])
265264
])
266-
if test "x$bitcoin_cv_static_qt" = xyes; then
267-
AC_DEFINE(QT_STATICPLUGIN, 1, [Define this symbol for static Qt plugins])
268-
fi
269265
])
270266
271267
dnl Internal. Check if the link-requirements for static plugins are met.

0 commit comments

Comments
 (0)