[cogl] gir: pass dep cflags to gobject introspection scanner



commit bbfe8b8ec445bda7832e13f495e31ac0ca93aca1
Author: Robert Bragg <robert linux intel com>
Date:   Wed Jun 1 18:49:18 2011 +0100

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cogl/Makefile.am b/cogl/Makefile.am
index 9c4fff4..8a7abb4 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'



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]