[oe] [meta-oe][PATCH 3/4] postgresql: Do not link with libnsl on musl
Khem Raj
raj.khem at gmail.com
Wed Jul 19 15:41:31 UTC 2017
libnsl is not available on musl
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-support/postgresql/postgresql_9.4.11.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-oe/recipes-support/postgresql/postgresql_9.4.11.bb b/meta-oe/recipes-support/postgresql/postgresql_9.4.11.bb
index e4d2edad0..7043b272a 100644
--- a/meta-oe/recipes-support/postgresql/postgresql_9.4.11.bb
+++ b/meta-oe/recipes-support/postgresql/postgresql_9.4.11.bb
@@ -7,5 +7,9 @@ SRC_URI += "\
file://not-check-libperl.patch \
"
+do_compile_prepend_libc-musl() {
+ sed -i -e 's/\-lnsl//g' ${B}/src/Makefile.global
+}
+
SRC_URI[md5sum] = "2fee03f2034034dbfcb3321a0bb0f829"
SRC_URI[sha256sum] = "e3eb51d045c180b03d2de1f0c3af9356e10be49448e966ca01dfc2c6d1cc9d23"
--
2.13.3
More information about the Openembedded-devel
mailing list