summaryrefslogtreecommitdiff
path: root/gir
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-08-20 18:21:41 -0400
committerColin Walters <walters@verbum.org>2009-08-24 14:14:53 -0400
commitbacb23155a5fb370493d0ce2fc438ea6c2982a45 (patch)
tree685b1598528c1fe9f8e54425205197d84dca1338 /gir
parent3d4a06e80a46964b2f1a3bfc33403e89022a4163 (diff)
downloadgobject-introspection-bacb23155a5fb370493d0ce2fc438ea6c2982a45.tar.gz
LD_LIBRARY_PATH exorcism
Thanks to commit 6d510b8db, we now no longer need LD_LIBRARY_PATH to be set for invoking the compiler. Next, before we were taking the LD_LIBRARY_PATH variable and turning it into a compile path, presumably to attempt to handle the cases where we weren't getting the right -L flags. Also interacting with this was a while ago we weren't really doing uninstalled libtool libraries correctly, which is probably how hacks involving LD_LIBRARY_PATH crept into the scanner. Just require that we're passed the right -L flags, and we should be doing libtool libraries better now.
Diffstat (limited to 'gir')
-rw-r--r--gir/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/gir/Makefile.am b/gir/Makefile.am
index 3cd4bf7a..d1363160 100644
--- a/gir/Makefile.am
+++ b/gir/Makefile.am
@@ -206,7 +206,7 @@ girdir = $(GIR_DIR)
dist_gir_DATA = $(GIRSOURCES)
%.typelib: %.gir $(top_builddir)/tools/g-ir-compiler$(EXEEXT)
- LD_LIBRARY_PATH=$(top_builddir)/girepository/.libs:.libs$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH} $(DEBUG) $(top_builddir)/tools/g-ir-compiler$(EXEEXT) --includedir=. $(G_IR_COMPILER_OPTS) $< -o $@
+ $(top_builddir)/tools/g-ir-compiler$(EXEEXT) --includedir=. $(G_IR_COMPILER_OPTS) $< -o $@
typelibsdir = $(libdir)/girepository-1.0
typelibs_DATA = $(GIRSOURCES:.gir=.typelib)