From 5d7c2e7c4495b3d6f35ed3f4e50857f17b946872 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Mon, 17 Aug 2009 13:57:18 -0400 Subject: [PATCH] Set LD_LIBRARY_PATH when running g-ir-compiler g-ir-compiler currently opens the library for the .gir it is compiling; to make that work we need to set LD_LIBRARY_PATH before running g-ir-compiler to include .libs. (I think this may have been working earlier because there was a hack that substituted .so with .la and tried opening that; that works for the incorrect libclutter-glx-1.0.so but not for the correct libclutter-glx-1.0.so.0) http://bugzilla.openedhand.com/show_bug.cgi?id=1771 --- clutter/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/clutter/Makefile.am b/clutter/Makefile.am index 1cc2e6fd7..46c106d66 100644 --- a/clutter/Makefile.am +++ b/clutter/Makefile.am @@ -312,6 +312,7 @@ typelibsdir = $(libdir)/girepository-1.0/ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) %.typelib: %.gir $(INTROSPECTION_COMPILER) + LD_LIBRARY_PATH=.libs$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH} \ $(QUIET_GEN)$(DEBUG) $(INTROSPECTION_COMPILER) \ --includedir=$(srcdir) \ --includedir=. \