about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/gspell/0001-Darwin-build-fix.patch
blob: 6200dca189f8f9769a4ad7736f868f478d1968b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 2d6dd1c286eb57fbf968510318cafc94888b98de Mon Sep 17 00:00:00 2001
From: OPNA2608 <christoph.neidahl@gmail.com>
Date: Sun, 13 Jun 2021 21:56:03 +0200
Subject: [PATCH] Darwin build fix

---
 gspell/Makefile.am | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gspell/Makefile.am b/gspell/Makefile.am
index 69ee421..7c58973 100644
--- a/gspell/Makefile.am
+++ b/gspell/Makefile.am
@@ -161,6 +162,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
-- 
2.29.3