[gnome-continuous-yocto/gnomeostree-3.28-rocko: 8135/8267] perl-native: Provide correct lddlflags



commit f5157782255881b984123b3d37c15ead1180c4e8
Author: Nikolay Merinov <n merinov inango-systems com>
Date:   Thu Oct 5 12:36:50 2017 +0500

    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: b927733c03f672aee59211fa86278cae9c817530)
    
    Signed-off-by: Nikolay Merinov <n merinov inango-systems com>
    Signed-off-by: Ross Burton <ross burton intel com>
    (cherry picked from commit 118f42fa92c29269395c53c931fa174ece1af2e0)
    Signed-off-by: Armin Kuster <akuster808 gmail com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-devtools/perl/perl-native_5.24.1.bb |    1 +
 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 e01d11f..6c56a7d 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 () {
                -Dcc="${CC}" \
                -Dcflags="${CFLAGS}" \
                -Dldflags="${LDFLAGS}" \
+               -Dlddlflags="${LDFLAGS} -shared" \
                -Dcf_by="Open Embedded" \
                -Dprefix=${prefix} \
                -Dvendorprefix=${prefix} \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]