[gimp] app: add some CPPFLAGS in core/Makefile.am to fix the build on OSX
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add some CPPFLAGS in core/Makefile.am to fix the build on OSX
- Date: Tue, 10 Dec 2013 23:42:49 +0000 (UTC)
commit 00cd9b4e47dea4b4f51da60cb03fa2d575dcdb88
Author: Michael Natterer <mitch gimp org>
Date: Wed Dec 11 00:41:24 2013 +0100
app: add some CPPFLAGS in core/Makefile.am to fix the build on OSX
app/core/Makefile.am | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/app/core/Makefile.am b/app/core/Makefile.am
index cd94de7..92be895 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]