mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
38 lines
836 B
Diff
38 lines
836 B
Diff
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
|
|
@@ -95,6 +95,7 @@ nodist_libgspell_core_la_SOURCES = \
|
|
$(BUILT_SOURCES)
|
|
|
|
libgspell_core_la_LIBADD = \
|
|
+ $(GTK_MAC_LIBS) \
|
|
$(CODE_COVERAGE_LIBS)
|
|
|
|
libgspell_core_la_CFLAGS = \
|
|
@@ -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
|
|
|