summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2011-06-01 18:49:18 +0100
committerRobert Bragg <robert@linux.intel.com>2011-06-01 20:44:43 +0100
commitbbfe8b8ec445bda7832e13f495e31ac0ca93aca1 (patch)
tree7bb07314b7218232a549c5800410182e76517648
parent5022ec54d2dfea28d5b4edbe0183cd6312035f93 (diff)
downloadcogl-bbfe8b8ec445bda7832e13f495e31ac0ca93aca1.tar.gz
gir: pass dep cflags to gobject introspection scanner
The gobject introspection scanner was failing to find EGL headers so we now pass the COGL_DEP_CFLAGS to Cogl_1_0_gir_CFLAGS.
-rw-r--r--cogl/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/Makefile.am b/cogl/Makefile.am
index 9c4fff43..8a7abb4d 100644
--- a/cogl/Makefile.am
+++ b/cogl/Makefile.am
@@ -406,7 +406,7 @@ Cogl_1_0_gir_NAMESPACE = Cogl
Cogl_1_0_gir_VERSION = 1.0
Cogl_1_0_gir_LIBS = libcogl.la
Cogl_1_0_gir_FILES = $(cogl_public_h) cogl-enum-types.h
-Cogl_1_0_gir_CFLAGS = $(INCLUDES) $(AM_CPPFLAGS)
+Cogl_1_0_gir_CFLAGS = $(INCLUDES) $(AM_CPPFLAGS) $(COGL_DEP_CFLAGS)
Cogl_1_0_gir_INCLUDES = GL-1.0 GObject-2.0
Cogl_1_0_gir_EXPORT_PACKAGES = cogl-1.0
Cogl_1_0_gir_SCANNERFLAGS = --warn-all --c-include='cogl/cogl.h'