summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-02-27 16:25:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-13 09:43:21 +0000
commitff750c42e2eb5e9ddb5ef438e571d708ec0adf77 (patch)
tree380c6d378c875457e29d1864653ee97d23b5774c
parent580ba965f5f38f6718a83f690bbe23a63fbcd3dd (diff)
downloadopenembedded-core-contrib-ff750c42e2eb5e9ddb5ef438e571d708ec0adf77.tar.gz
openembedded-core-contrib-ff750c42e2eb5e9ddb5ef438e571d708ec0adf77.tar.bz2
openembedded-core-contrib-ff750c42e2eb5e9ddb5ef438e571d708ec0adf77.zip
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. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
-rw-r--r--meta/recipes-support/nspr/nspr_4.13.1.bb2
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 343800c80f..9c15a8b40b 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+)+)/"