diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-07-19 08:41:31 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-24 18:58:53 +0200 |
commit | e5fd08cc4b230efd2c9564853a17cff873ab98d2 (patch) | |
tree | 26caee7843d4254d4dc943a5d1948bd2011a9b6f | |
parent | 5fed64bb1e974ac022807016b98577907aae18c8 (diff) | |
download | meta-openembedded-e5fd08cc4b230efd2c9564853a17cff873ab98d2.tar.gz |
postgresql: Do not link with libnsl on musl
libnsl is not available on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/postgresql/postgresql_9.4.11.bb | 4 |
1 files changed, 4 insertions, 0 deletions
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 e4d2edad05..7043b272ab 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 += "\ | |||
7 | file://not-check-libperl.patch \ | 7 | file://not-check-libperl.patch \ |
8 | " | 8 | " |
9 | 9 | ||
10 | do_compile_prepend_libc-musl() { | ||
11 | sed -i -e 's/\-lnsl//g' ${B}/src/Makefile.global | ||
12 | } | ||
13 | |||
10 | SRC_URI[md5sum] = "2fee03f2034034dbfcb3321a0bb0f829" | 14 | SRC_URI[md5sum] = "2fee03f2034034dbfcb3321a0bb0f829" |
11 | SRC_URI[sha256sum] = "e3eb51d045c180b03d2de1f0c3af9356e10be49448e966ca01dfc2c6d1cc9d23" | 15 | SRC_URI[sha256sum] = "e3eb51d045c180b03d2de1f0c3af9356e10be49448e966ca01dfc2c6d1cc9d23" |