summaryrefslogtreecommitdiffstats
path: root/packaging/macos/modulesets/patches/gspell-makefile_objc.patch
blob: e9a7e65a701d11c8fbe03b197954b915a4983f73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Patch taken from homebrew formula.
Removed gtk-mac-integration dependency.
https://github.com/Homebrew/homebrew-core/blob/cd1e31a/Formula/gspell.rb
diff --git a/gspell/Makefile.am b/gspell/Makefile.am
index 076a9fd..6c67184 100644
--- a/gspell/Makefile.am
+++ b/gspell/Makefile.am
@@ -155,6 +156,12 @@ gspell_private_headers += \
 gspell_private_c_files += \
	gspell-osx.c

+libgspell_core_la_CFLAGS += \
+	-xobjective-c
+
+libgspell_core_la_LDFLAGS += \
+	-framework Cocoa
+
 endif # OS_OSX

 if HAVE_INTROSPECTION