[gspell] build: fix compilation on Mac OS X
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell] build: fix compilation on Mac OS X
- Date: Sun, 31 Jan 2016 17:38:45 +0000 (UTC)
commit 09bf18a4d225be0613d59834d260f619c310fb03
Author: Tom Schoonjans <Tom Schoonjans diamond ac uk>
Date: Sun Jan 31 15:10:36 2016 +0530
build: fix compilation on Mac OS X
Ensures that all files are treated as Objective-C source code.
gspell/Makefile.am | 20 ++++++++------------
1 files changed, 8 insertions(+), 12 deletions(-)
---
diff --git a/gspell/Makefile.am b/gspell/Makefile.am
index c9a7d7e..72547a6 100644
--- a/gspell/Makefile.am
+++ b/gspell/Makefile.am
@@ -84,23 +84,19 @@ gspell-resources.c: $(xml_res) $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(s
CLEANFILES = $(BUILT_SOURCES)
-# Mac OSX convenience library and ldflags
if OS_OSX
-noinst_LTLIBRARIES = libosx.la
+libgspell_1_la_LDFLAGS += \
+ -framework Cocoa
-libosx_la_LDFLAGS = \
- -framework Cocoa \
- $(GTK_MAC_LIBS)
-
-libosx_la_CFLAGS = \
- -xobjective-c \
- $(GTK_MAC_CFLAGS)
+libgspell_1_la_CFLAGS = \
+ -xobjective-c
-libosx_la_SOURCES = \
- gspell-osx.c \
+gspell_private_headers += \
gspell-osx.h
-libgspell_1_la_LIBADD += libosx.la
+gspell_private_c_files += \
+ gspell-osx.c
+
endif # OS_OSX
if HAVE_INTROSPECTION
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]