summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make_ext.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_ext.pl b/make_ext.pl
index a40b708b84..61945c466e 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -163,7 +163,7 @@ if ($is_Win32) {
$ENV{PATH} = "$topdir;$topdir\\win32\\bin;$ENV{PATH}";
my $pl2bat = "$topdir\\win32\\bin\\pl2bat";
unless (-f "$pl2bat.bat") {
- my @args = ($perl, '-Ilib', ("$pl2bat.pl") x 2);
+ my @args = ($perl, "-I$topdir\\lib", ("$pl2bat.pl") x 2);
print "@args\n";
system(@args) unless defined $::Cross::platform;
}