summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-23 15:12:52 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-23 15:12:52 +0100
commitd7f84378c13a9837fe0c62fb453daaf10ca81abf (patch)
treeb7dff8e0063ef4e4e242375175193f5a54e29b3c /make_ext.pl
parentd6897368de47e5c4ab8164f57a855a7323021a33 (diff)
downloadperl-d7f84378c13a9837fe0c62fb453daaf10ca81abf.tar.gz
Correct d6897368 - Win32 requires the correct path for -I for lib/
Diffstat (limited to 'make_ext.pl')
-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;
}