Richard W.M. Jones wrote:

[snip]
> Yes, this is a(-nother) horrible limitation of nsiswrapper.  If you
> have a suggested patch, please post it here.

This seems to work:

--- /usr/bin/nsiswrapper.orig   2009-06-17 04:33:02.884503149 +0000
+++ /usr/bin/nsiswrapper        2009-06-17 07:05:50.298151454 +0000
@@ -330,7 +330,7 @@

 sub check_prereqs
 {
-    my @paths = split (/:/, $ENV{PATH});
+    my @paths = split (/:/, $mingw32_bindir . ':' . $ENV{PATH});

     if (! $objdump) {
        $objdump = check_path ("i686-pc-mingw32-objdump", @paths);
@@ -365,7 +365,7 @@
 sub print_config
 {
     print "Configuration:\n";
-    print "\t\$PATH = $ENV{PATH}\n";
+    print "\t\$PATH = $mingw32_bindir:$ENV{PATH}\n";
     print "\t\$objdump = $objdump\n";
     print "\t\$verbose = $verbose\n";
     print "\t\$name = \"$name\"\n";
@@ -429,7 +429,7 @@
 sub get_deps_for_file
 {
     my $file = shift;
-    my @paths = split (/:/, $ENV{PATH});
+    my @paths = split (/:/, $mingw32_bindir . ':' . $ENV{PATH});

     # If we already fetched the dependencies for this file, just
     # return that list now.

Regards.
-- 
René Berber

_______________________________________________
fedora-mingw mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw

Reply via email to