Skip to content

Commit 65afe4c

Browse files
committed
build: Drop unneeded ApplicationServices framework dependency
1 parent 5c0aebf commit 65afe4c

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

build-aux/m4/bitcoin_qt.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
202202
*darwin*)
203203
BITCOIN_QT_CHECK([
204204
MOC_DEFS="${MOC_DEFS} -DQ_OS_MAC"
205-
base_frameworks="-framework Foundation -framework ApplicationServices -framework AppKit"
205+
base_frameworks="-framework Foundation -framework AppKit"
206206
AX_CHECK_LINK_FLAG([[$base_frameworks]],[QT_LIBS="$QT_LIBS $base_frameworks"],[AC_MSG_ERROR(could not find base frameworks)])
207207
])
208208
;;

src/qt/notificator.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,7 @@
1717
#include <stdint.h>
1818
#include <QtDBus>
1919
#endif
20-
// Include ApplicationServices.h after QtDbus to avoid redefinition of check().
21-
// This affects at least OSX 10.6. See /usr/include/AssertMacros.h for details.
22-
// Note: This could also be worked around using:
23-
// #define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
2420
#ifdef Q_OS_MAC
25-
#include <ApplicationServices/ApplicationServices.h>
2621
#include <qt/macnotificationhandler.h>
2722
#endif
2823

0 commit comments

Comments
 (0)