summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-15 14:56:44 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-15 14:56:44 +0100
commit87e064040e3ca3b6e8dfae243dfe4af76c7eb323 (patch)
treea1b84dd7e81d6cc9d38ef29452df1b77bdcff653 /perl.c
parent404ad9dc9dfa2116d2907212d3650df6870ff9bc (diff)
downloadperl-87e064040e3ca3b6e8dfae243dfe4af76c7eb323.tar.gz
Ensure that the perl build doesn't read any installed sitecustomize script.
But not the tests yet. We need to avoid running a sitecustomize script as it may have side effects that cause the build to fail, or worse, complete but with buggy side effects.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 6cf99f1b92..e80b9e45c6 100644
--- a/perl.c
+++ b/perl.c
@@ -1940,7 +1940,7 @@ S_parse_body(pTHX_ char **env, XSINIT_t xsinit)
}
}
-#ifdef USE_SITECUSTOMIZE
+#if defined(USE_SITECUSTOMIZE) && !defined(PERL_IS_MINIPERL)
if (!minus_f) {
/* SITELIB_EXP is a function call on Win32.
The games with local $! are to avoid setting errno if there is no