diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-09-18 10:53:11 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-09-18 10:53:11 +0100 |
commit | 6c8b0117f5a408f4d2467d5263133611dc283198 (patch) | |
tree | 9dda690c592579fd05cf572cd8e90d493666ee8c /make_ext.pl | |
parent | 859ef0cd29f8b6c71be648530456c6b4c6496869 (diff) | |
download | perl-6c8b0117f5a408f4d2467d5263133611dc283198.tar.gz |
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.
Diffstat (limited to 'make_ext.pl')
-rw-r--r-- | make_ext.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/make_ext.pl b/make_ext.pl index 1cb5c1b4ce..92639457dd 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: $!"; |