summaryrefslogtreecommitdiff
path: root/win32/buildext.pl
diff options
context:
space:
mode:
Diffstat (limited to 'win32/buildext.pl')
-rw-r--r--win32/buildext.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/buildext.pl b/win32/buildext.pl
index 056361982e..6e40bb9bf7 100644
--- a/win32/buildext.pl
+++ b/win32/buildext.pl
@@ -9,6 +9,7 @@ if ($perl =~ m#^\.\.#)
$perl = "$here\\$perl";
}
my $make = shift;
+$make .= " ".shift while $ARGV[0]=~/^-/;
my $dep = shift;
my $dmod = -M $dep;
my $dir = shift;
@@ -60,4 +61,4 @@ sub find_xs
$ext{$dir} = $name;
}
}
-} \ No newline at end of file
+}