[gobject-introspection] Windows port: additionally set PATH in common.mk



commit 82028495cf54397452f41c3f27bfad1e30ea9d63
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Mon Sep 5 16:51:30 2011 +0200

    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

 common.mk |   24 +++++++++++++++---------
 1 files changed, 15 insertions(+), 9 deletions(-)
---
diff --git a/common.mk b/common.mk
index dcd94d0..052d5b4 100644
--- a/common.mk
+++ b/common.mk
@@ -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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]