mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
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
This commit is contained in:
parent
4c1248c5e9
commit
5d7c2e7c44
@ -312,6 +312,7 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
|
LD_LIBRARY_PATH=.libs$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH} \
|
||||||
$(QUIET_GEN)$(DEBUG) $(INTROSPECTION_COMPILER) \
|
$(QUIET_GEN)$(DEBUG) $(INTROSPECTION_COMPILER) \
|
||||||
--includedir=$(srcdir) \
|
--includedir=$(srcdir) \
|
||||||
--includedir=. \
|
--includedir=. \
|
||||||
|
Loading…
Reference in New Issue
Block a user