summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Merinov <n.merinov@inango-systems.com>2017-10-05 12:36:50 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-05 22:33:21 +0000
commit20dfb997e099e3b95b86c73ecc7850eb9041fa77 (patch)
treefef6e01aaf91b03ee55f8814719c90eb198b0dba
parente79e852db0d7a234d63e7b4d6475ea2a558846de (diff)
downloadpoky-20dfb997e099e3b95b86c73ecc7850eb9041fa77.tar.gz
perl-native: Provide correct lddlflags
For shared libraries compilation perl uses LDDLFLAGS instead of LDFLAGS. Value for LDDLFLAGS can be provided through recipe-sysroot-native/usr/lib/perl-native/perl/config.sh file generated during perl-native compilation. With default LDDLFLAGS libxml-parser-perl-native package have no correct rpath in Expat.so module. Provide correct LDDLFLAGS for perl modules compilation to fix build on hosts without libexpat.so. (From OE-Core rev: 118f42fa92c29269395c53c931fa174ece1af2e0) Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/perl/perl-native_5.24.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-native_5.24.1.bb b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
index e01d11fbed..6c56a7d701 100644
--- a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
@@ -32,6 +32,7 @@ do_configure () {
32 -Dcc="${CC}" \ 32 -Dcc="${CC}" \
33 -Dcflags="${CFLAGS}" \ 33 -Dcflags="${CFLAGS}" \
34 -Dldflags="${LDFLAGS}" \ 34 -Dldflags="${LDFLAGS}" \
35 -Dlddlflags="${LDFLAGS} -shared" \
35 -Dcf_by="Open Embedded" \ 36 -Dcf_by="Open Embedded" \
36 -Dprefix=${prefix} \ 37 -Dprefix=${prefix} \
37 -Dvendorprefix=${prefix} \ 38 -Dvendorprefix=${prefix} \