[OE-core] [PATCH 1/2] perl: add archlib_exp variable used to generate ARCHLIB_EXP in config.h

tom.zanussi at intel.com tom.zanussi at intel.com
Wed Oct 10 00:48:24 UTC 2012


From: Tom Zanussi <tom.zanussi at intel.com>

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 <tom.zanussi at intel.com>
---
 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 at -thread-multi'
 archlibexp='@STAGINGDIR@@LIBDIR@/perl/5.14.2/@ARCH at -thread-multi'
+archlib_exp='@LIBDIR@/perl/5.14.2/@ARCH at -thread-multi'
 archname64=''
 archname='@ARCH at -thread-multi'
 archobjs=''
-- 
1.7.11.4





More information about the Openembedded-core mailing list