mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 11:32:46 +01:00
merge bitcoin#21423: Cleanups and follow ups after bumping Qt to 5.12.10
This commit is contained in:
parent
59b9725d23
commit
e3dbd51296
@ -123,7 +123,12 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
|
|||||||
_BITCOIN_QT_CHECK_STATIC_LIBS
|
_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 -L$qt_plugin_path/styles"
|
if test -d "$qt_plugin_path/platforms"; then
|
||||||
|
QT_LIBS="$QT_LIBS -L$qt_plugin_path/platforms"
|
||||||
|
fi
|
||||||
|
if test -d "$qt_plugin_path/styles"; then
|
||||||
|
QT_LIBS="$QT_LIBS -L$qt_plugin_path/styles"
|
||||||
|
fi
|
||||||
if test -d "$qt_plugin_path/accessible"; then
|
if test -d "$qt_plugin_path/accessible"; then
|
||||||
QT_LIBS="$QT_LIBS -L$qt_plugin_path/accessible"
|
QT_LIBS="$QT_LIBS -L$qt_plugin_path/accessible"
|
||||||
fi
|
fi
|
||||||
@ -146,7 +151,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
|
|||||||
elif test "x$TARGET_OS" = xlinux; then
|
elif test "x$TARGET_OS" = xlinux; then
|
||||||
dnl workaround for https://bugreports.qt.io/browse/QTBUG-74874
|
dnl workaround for https://bugreports.qt.io/browse/QTBUG-74874
|
||||||
AX_CHECK_LINK_FLAG([-lxcb-shm], [QT_LIBS="-lxcb-shm $QT_LIBS"], [AC_MSG_ERROR([could not link against -lxcb-shm])])
|
AX_CHECK_LINK_FLAG([-lxcb-shm], [QT_LIBS="-lxcb-shm $QT_LIBS"], [AC_MSG_ERROR([could not link against -lxcb-shm])])
|
||||||
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QXcbIntegrationPlugin], [-lqxcb -lxcb-static])
|
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QXcbIntegrationPlugin], [-lqxcb])
|
||||||
AC_DEFINE(QT_QPA_PLATFORM_XCB, 1, [Define this symbol if the qt platform is xcb])
|
AC_DEFINE(QT_QPA_PLATFORM_XCB, 1, [Define this symbol if the qt platform is xcb])
|
||||||
elif test "x$TARGET_OS" = xdarwin; then
|
elif test "x$TARGET_OS" = xdarwin; then
|
||||||
AX_CHECK_LINK_FLAG([[-framework Carbon]],[QT_LIBS="$QT_LIBS -framework Carbon"],[AC_MSG_ERROR(could not link against Carbon framework)])
|
AX_CHECK_LINK_FLAG([[-framework Carbon]],[QT_LIBS="$QT_LIBS -framework Carbon"],[AC_MSG_ERROR(could not link against Carbon framework)])
|
||||||
|
@ -27,6 +27,6 @@ define $(package)_stage_cmds
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_postprocess_cmds
|
define $(package)_postprocess_cmds
|
||||||
rm -rf share/man share/doc lib/*.la
|
rm lib/*.la
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user