projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6557187
)
Spread IlyaZ's PERL_CORE detection trick.
Jarkko Hietaniemi [Wed, 2 Apr 2003 05:25:19 +0000 (
05:25
+0000)]
p4raw-id: //depot/perl@19131
ext/Encode/Makefile.PL
patch
|
blob
|
blame
|
history
diff --git
a/ext/Encode/Makefile.PL
b/ext/Encode/Makefile.PL
index
2e74fe4
..
6e4e40c
100644
(file)
--- a/
ext/Encode/Makefile.PL
+++ b/
ext/Encode/Makefile.PL
@@
-3,7
+3,7
@@
use ExtUtils::MakeMaker;
# Just for sure :)
unless($ENV{PERL_CORE}) {
- $ENV{PERL_CORE} = 1 if ($^X =~ m{\bminiperl[^/\\\]>:]*$}o);
+ $ENV{PERL_CORE} = 1 if grep { $_ eq 'PERL_CORE=1' } @ARGV;
}
my %tables =