From bbfe8b8ec445bda7832e13f495e31ac0ca93aca1 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Wed, 1 Jun 2011 18:49:18 +0100 Subject: [PATCH] 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. --- cogl/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/Makefile.am b/cogl/Makefile.am index 9c4fff43c..8a7abb4d2 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'