summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.mk2
-rw-r--r--gir/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index 6068e9c0..de8333e5 100644
--- a/common.mk
+++ b/common.mk
@@ -4,7 +4,7 @@ SCANNER_ENV = env PYTHONPATH=$(SCANNER_PYTHONPATH) \
UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir)
SCANNER_ARGS = -v --add-include-path=$(top_builddir)/gir --add-include-path=.
-SCANNER = $(AM_V_GEN) $(SCANNER_ENV) $(SCANNER_BIN) $(SCANNER_ARGS)
+SCANNER = $(AM_V_GEN) env LPATH=.libs $(CHECK_DEBUG) $(SCANNER_ENV) $(SCANNER_BIN) $(SCANNER_ARGS)
SCANNER_LIBS = \
$(top_srcdir)/giscanner/*.py \
$(top_builddir)/giscanner/libgiscanner.la \
diff --git a/gir/Makefile.am b/gir/Makefile.am
index a82cd991..caffabda 100644
--- a/gir/Makefile.am
+++ b/gir/Makefile.am
@@ -184,7 +184,7 @@ libgirepository_everything_1_0_la_LDFLAGS += -no-undefined
endif
Everything-$(TYPELIB_VERSION).gir: libgirepository-everything-1.0.la everything.c everything.h $(SCANNER_BIN) $(SCANNER_LIBS)
- LPATH=$(builddir)/.libs $(CHECK_DEBUG) $(SCANNER) \
+ $(SCANNER) \
--include=GObject-2.0 \
--libtool="$(LIBTOOL)" \
--library=girepository-everything-1.0 \