From 00cd9b4e47dea4b4f51da60cb03fa2d575dcdb88 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 11 Dec 2013 00:41:24 +0100 Subject: [PATCH] app: add some CPPFLAGS in core/Makefile.am to fix the build on OSX --- app/core/Makefile.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/core/Makefile.am b/app/core/Makefile.am index cd94de7398..92be8953c0 100644 --- a/app/core/Makefile.am +++ b/app/core/Makefile.am @@ -1,7 +1,13 @@ ## Process this file with automake to produce Makefile.in +if PLATFORM_OSX +xobjective_c = "-xobjective-c" +endif + AM_CPPFLAGS = \ + -DGIMPDIR=\""$(gimpdir)"\" \ -DGIMP_APP_VERSION=\"$(GIMP_APP_VERSION)\" \ + -DGIMP_USER_VERSION=\"$(GIMP_USER_VERSION)\" \ -DG_LOG_DOMAIN=\"Gimp-Core\" \ -I$(top_builddir) \ -I$(top_srcdir) \ @@ -11,7 +17,8 @@ AM_CPPFLAGS = \ $(GEGL_CFLAGS) \ $(GDK_PIXBUF_CFLAGS) \ $(GEXIV2_CFLAGS) \ - -I$(includedir) + -I$(includedir) \ + $(xobjective_c) noinst_LIBRARIES = libappcore.a