[oe-commits] [meta-openembedded] 61/75: postgresql: Do not link with libnsl on musl

git at git.openembedded.org git at git.openembedded.org
Mon Jul 24 17:03:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit e5fd08cc4b230efd2c9564853a17cff873ab98d2
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Wed Jul 19 08:41:31 2017 -0700

    postgresql: Do not link with libnsl on musl
    
    libnsl is not available on musl
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa 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 e4d2eda..7043b27 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list