summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rwxr-xr-xext/Encode/compile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/Encode/compile b/ext/Encode/compile
index f6957d260b..a688c23962 100755
--- a/ext/Encode/compile
+++ b/ext/Encode/compile
@@ -1,5 +1,8 @@
#!../../perl -w
-BEGIN { @INC = '../../lib' };
+BEGIN {
+ @INC = '../../lib';
+ $ENV{PATH} .= ';../..' if $^O eq 'MSWin32';
+}
use strict;
use Getopt::Std;
my @orig_ARGV = @ARGV;