[gegl] find introspection information in custom prefixes



commit 839c28034cf754405f7e74dd6a48f629f945ef0b
Author: Nils Philippsen <nils redhat com>
Date:   Wed Jun 22 15:11:41 2011 +0200

    find introspection information in custom prefixes

 gegl/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/Makefile.am b/gegl/Makefile.am
index e41dfbe..23ef3c9 100644
--- a/gegl/Makefile.am
+++ b/gegl/Makefile.am
@@ -2,8 +2,8 @@
 ### GObject introspection
 -include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =
-INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
-INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
+INTROSPECTION_SCANNER_ARGS = --add-include-path="$(srcdir)" --add-include-path="$(shell $(PKG_CONFIG) --define-variable=datadir="$(datadir)" --variable=girdir gobject-introspection-1.0)"
+INTROSPECTION_COMPILER_ARGS = --includedir="$(srcdir)" --includedir="$(shell $(PKG_CONFIG) --define-variable=datadir="$(datadir)" --variable=girdir gobject-introspection-1.0)"
 
 if PLATFORM_WIN32
 no_undefined = -no-undefined



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