summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-22 20:27:48 +0100
committerNicholas Clark <nick@ccl4.org>2009-02-22 20:27:48 +0100
commit21110102bdc939755273e3ab6f608a76ad60178e (patch)
treee01a40fe33a1d545db2c639556c5a362448f1b84 /perl.c
parenta8f9c4338a1e1adea9ac4c69500b6ef9cc351852 (diff)
downloadperl-21110102bdc939755273e3ab6f608a76ad60178e.tar.gz
In S_init_perllib(), push the bare VENDORLIB_STEM onto @INC after its subdirs.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/perl.c b/perl.c
index 48504ddf5f..83d50e1803 100644
--- a/perl.c
+++ b/perl.c
@@ -4206,11 +4206,6 @@ S_init_perllib(pTHX)
# endif
#endif
-#if defined(PERL_VENDORLIB_STEM) && defined(PERL_INC_VERSION_LIST)
- /* Search for version-specific dirs below here */
- S_incpush_use_sep(aTHX_ STR_WITH_LEN(PERL_VENDORLIB_STEM), INCPUSH_CAN_RELOCATE);
-#endif
-
#ifdef ARCHLIB_EXP
S_incpush_use_sep(aTHX_ STR_WITH_LEN(ARCHLIB_EXP), INCPUSH_CAN_RELOCATE);
#endif
@@ -4281,7 +4276,7 @@ S_init_perllib(pTHX)
#if defined(PERL_VENDORLIB_STEM) && defined(PERL_INC_VERSION_LIST)
/* Search for version-specific dirs below here */
- S_incpush_use_sep(aTHX_ STR_WITH_LEN(PERL_VENDORLIB_STEM), INCPUSH_ADD_OLD_VERS|INCPUSH_NOT_BASEDIR|INCPUSH_CAN_RELOCATE);
+ S_incpush_use_sep(aTHX_ STR_WITH_LEN(PERL_VENDORLIB_STEM), INCPUSH_ADD_OLD_VERS|INCPUSH_CAN_RELOCATE);
#endif
#ifdef PERL_OTHERLIBDIRS