summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-16 11:14:28 +0000
committerNicholas Clark <nick@ccl4.org>2009-02-16 11:24:49 +0000
commit95bb830374a8a89f7b1a7056c1e3e3c778bfa350 (patch)
tree918f11a4283dd681af58a13eec0686b1ad26f51e /perl.c
parent2b93ed3263b8b063954e409dedd232e5b362a927 (diff)
downloadperl-95bb830374a8a89f7b1a7056c1e3e3c778bfa350.tar.gz
Don't add PRIVLIB_EXP to @INC twice.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 9e52c981fe..a56ab03009 100644
--- a/perl.c
+++ b/perl.c
@@ -4217,7 +4217,7 @@ S_init_perllib(pTHX_ U32 old_vers)
incpush_use_sep(PERL_VENDORLIB_STEM, old_vers|INCPUSH_CAN_RELOCATE);
#endif
- if (!old_vers)
+ if (!old_vers) {
#ifdef ARCHLIB_EXP
incpush_use_sep(ARCHLIB_EXP, INCPUSH_CAN_RELOCATE);
#endif
@@ -4231,6 +4231,7 @@ S_init_perllib(pTHX_ U32 old_vers)
#else
incpush_use_sep(PRIVLIB_EXP, INCPUSH_CAN_RELOCATE);
#endif
+ }
#ifdef PERL_OTHERLIBDIRS
if (!old_vers) {