[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5095/8267] nspr: do not use shared library symbol resolution with musl



commit 778ce1b8f0f781a2d669e217afd0fd6b5f418e18
Author: Alexander Kanavin <alexander kanavin linux intel com>
Date:   Mon Feb 27 16:25:05 2017 +0200

    nspr: do not use shared library symbol resolution with musl
    
    It breaks rpm 4.x because musl is printing an error message
    when the symbol is not found, and rpm takes it as an actual error.
    
    (From OE-Core rev: ff750c42e2eb5e9ddb5ef438e571d708ec0adf77)
    
    Signed-off-by: Alexander Kanavin <alexander kanavin linux intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-support/nspr/nspr_4.13.1.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/recipes-support/nspr/nspr_4.13.1.bb b/meta/recipes-support/nspr/nspr_4.13.1.bb
index 343800c..9c15a8b 100644
--- a/meta/recipes-support/nspr/nspr_4.13.1.bb
+++ b/meta/recipes-support/nspr/nspr_4.13.1.bb
@@ -16,7 +16,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz
 CACHED_CONFIGUREVARS_append_libc-musl = " CFLAGS='${CFLAGS} -D_PR_POLL_AVAILABLE \
                                           -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP \
                                           -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO \
-                                          -D_PR_INET6_PROBE'"
+                                          -D_PR_INET6_PROBE -DNO_DLOPEN_NULL'"
 
 UPSTREAM_CHECK_URI = "http://ftp.mozilla.org/pub/nspr/releases/";
 UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+(\.\d+)+)/"


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