From patchwork Wed Oct 10 00:48:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/2] perl: add archlib_exp variable used to generate ARCHLIB_EXP in config.h Date: Wed, 10 Oct 2012 00:48:24 -0000 From: Tom Zanussi X-Patchwork-Id: 38043 Message-Id: To: openembedded-core@lists.openembedded.org From: Tom Zanussi perl.c uses an ARCHLIB_EXP define to generate compile-time code that adds the archlibexp path to @INC during run-time initialization of a new perl interpreter. Because we've changed this value in a temporary way to make it possible to use ExtUtils::Embed in the target build (the temporary value in config.sh gets re-stripped out during packaging), the ARCHLIB_EXP value that gets generated still uses the temporary version instead of the original expected version (i.e. becauses it's in the generated config.h, it doesn't get stripped out during packaging like the others in config.sh). This creates an unmodified version called archlib_exp that gets used by a modified config_h.SH to get the correct value into config.h Fixes [YOCTO #3099]. Signed-off-by: Tom Zanussi --- meta/recipes-devtools/perl/perl-5.14.2/config.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh b/meta/recipes-devtools/perl/perl-5.14.2/config.sh index 0d4ca1c..d1db02e 100644 --- a/meta/recipes-devtools/perl/perl-5.14.2/config.sh +++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh @@ -69,6 +69,7 @@ api_versionstring='5.14.0' ar='ar' archlib='@LIBDIR@/perl/5.14.2/@ARCH@-thread-multi' archlibexp='@STAGINGDIR@@LIBDIR@/perl/5.14.2/@ARCH@-thread-multi' +archlib_exp='@LIBDIR@/perl/5.14.2/@ARCH@-thread-multi' archname64='' archname='@ARCH@-thread-multi' archobjs=''