]> code.ossystems Code Review - openembedded-core.git/commitdiff
nspr: do not use shared library symbol resolution with musl
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Mon, 27 Feb 2017 14:25:05 +0000 (16:25 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 Mar 2017 09:43:21 +0000 (09:43 +0000)
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
meta/recipes-support/nspr/nspr_4.13.1.bb

index 343800c80fc5291ef2da6f1fa69e660f841b45ed..9c15a8b40ba251da980d6a9bad561203ab2f9d9f 100644 (file)
@@ -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+)+)/"