aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlangerhans <[email protected]>2018-10-08 11:47:05 -0700
committerRoss Nicoll <[email protected]>2019-03-25 05:36:12 +0000
commite1f37e8b3bbfd8934ab69ae53267a54ed274d9f4 (patch)
tree6c67c53c0ce1aede92521e93c1133cbe72cdcf4c
parentAdd rule to generate raw.h file to test Makefile (diff)
downloaddiscoin-e1f37e8b3bbfd8934ab69ae53267a54ed274d9f4.tar.xz
discoin-e1f37e8b3bbfd8934ab69ae53267a54ed274d9f4.zip
Fix Mac cross builds
-rw-r--r--build-aux/m4/bitcoin_qt.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/build-aux/m4/bitcoin_qt.m4 b/build-aux/m4/bitcoin_qt.m4
index 3136cbe90..0cbfef9cf 100644
--- a/build-aux/m4/bitcoin_qt.m4
+++ b/build-aux/m4/bitcoin_qt.m4
@@ -140,6 +140,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
AC_DEFINE(QT_QPA_PLATFORM_XCB, 1, [Define this symbol if the qt platform is xcb])
elif test x$TARGET_OS = xdarwin; then
AX_CHECK_LINK_FLAG([[-framework IOKit]],[QT_LIBS="$QT_LIBS -framework IOKit"],[AC_MSG_ERROR(could not iokit framework)])
+ AX_CHECK_LINK_FLAG([[-lcups]],[QT_LIBS="$QT_LIBS -lcups"],[AC_MSG_ERROR(could not link against cups)])
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)],[-lqcocoa])
AC_DEFINE(QT_QPA_PLATFORM_COCOA, 1, [Define this symbol if the qt platform is cocoa])
fi