From: Nicholas Clark Date: Fri, 18 Sep 2009 09:53:11 +0000 (+0100) Subject: Make make_ext.pl set PERL_CORE=1 in the environment. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6c8b0117f5a408f4d2467d5263133611dc283198;p=p5sagit%2Fp5-mst-13.2.git Make make_ext.pl set PERL_CORE=1 in the environment. This simplifies the check in Makefile.PL, and means that "I'm building in the core" is passed down to build scripts invoked from the Makefile. --- diff --git a/make_ext.pl b/make_ext.pl index 1cb5c1b..9263945 100644 --- a/make_ext.pl +++ b/make_ext.pl @@ -260,6 +260,7 @@ sub build_extension { # another process has half-written. $ENV{PERL5LIB} = join $Config{path_sep}, (map {"$up/$_"} @toolchain), $lib_dir; + $ENV{PERL_CORE} = 1; unless (chdir "$ext_dir") { warn "Cannot cd to $ext_dir: $!";