diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2011-09-05 16:51:30 +0200 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2011-09-07 22:36:08 +0200 |
commit | 82028495cf54397452f41c3f27bfad1e30ea9d63 (patch) | |
tree | 124ea790c55dcc17f486a93c872c59b9678d3997 | |
parent | 354476089f29452a7e826161b75b454eba07f327 (diff) | |
download | gobject-introspection-82028495cf54397452f41c3f27bfad1e30ea9d63.tar.gz |
Windows port: additionally set PATH in common.mk
Windows doesn't know about LPATH, but PATH is part
of it's .dll search order.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
-rw-r--r-- | common.mk | 24 |
1 files changed, 15 insertions, 9 deletions
@@ -7,11 +7,13 @@ # INTROSPECTION_SCANNER = \ - env LPATH=.libs \ + env PATH=.libs:$(PATH) \ + LPATH=.libs \ PYTHONPATH=$(top_builddir):$(top_srcdir) \ - UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \ - UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \ - $(top_builddir)/g-ir-scanner + UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \ + UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \ + $(top_builddir)/g-ir-scanner + INTROSPECTION_SCANNER_ARGS = \ --verbose \ -I$(top_srcdir) \ @@ -20,7 +22,10 @@ INTROSPECTION_SCANNER_ARGS = \ --add-include-path=$(builddir) \ --add-include-path=$(top_builddir) -INTROSPECTION_COMPILER = $(top_builddir)/g-ir-compiler$(EXEEXT) +INTROSPECTION_COMPILER = \ + env PATH=.libs:$(PATH) \ + $(top_builddir)/g-ir-compiler$(EXEEXT) + INTROSPECTION_COMPILER_ARGS = \ --includedir=$(srcdir) \ --includedir=$(top_srcdir)/gir \ @@ -28,8 +33,9 @@ INTROSPECTION_COMPILER_ARGS = \ --includedir=$(top_builddir) INTROSPECTION_DOCTOOL = \ - env LPATH=.libs \ + env PATH=.libs:$(PATH) \ + LPATH=.libs \ PYTHONPATH=$(top_builddir):$(top_srcdir) \ - UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \ - UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \ - $(top_builddir)/g-ir-doc-tool + UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \ + UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \ + $(top_builddir)/g-ir-doc-tool |