aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-09-04 10:34:19 -0700
committerArmin Kuster <akuster808@gmail.com>2017-09-17 07:39:41 -0700
commit414b2b42ebe9da70411575c93455063cb289105f (patch)
treef95a010c1cb6328511166085a62a49ee81627c1f
parente27ee03ab1f769044738dfb4ae79652005e0a385 (diff)
downloadmeta-openembedded-contrib-414b2b42ebe9da70411575c93455063cb289105f.tar.gz
meta-openembedded-contrib-414b2b42ebe9da70411575c93455063cb289105f.tar.bz2
meta-openembedded-contrib-414b2b42ebe9da70411575c93455063cb289105f.zip
netkit-rpc: Link libtirpc on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> (cherry picked from commit 58db2c981b8cea7f0b4a47a2cd4bb3251cc33e37) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb b/meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb
index 75ec07cfe4..9487fdc2c0 100644
--- a/meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb
+++ b/meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb
@@ -4,12 +4,15 @@ SECTION = "net"
LICENSE = "SPL-1.0"
LIC_FILES_CHKSUM = "file://rpcinfo/rpcinfo.c;beginline=2;endline=3;md5=3e6339e3ce266e1122c5ba293e04bc89"
+DEPENDS_append_libc-musl = " libtirpc"
SRC_URI = "http://sources.openembedded.org/${BPN}-${PV}.tar.gz \
file://gcc4.patch \
file://0001-rpcgen-Fix-printf-formats.patch \
"
SRC_URI[md5sum] = "67212720482ea1aea9182a98653a9642"
SRC_URI[sha256sum] = "421d63b414162237a72867061f1bd3e3752a0d962cd5d30b5e933ddad8a14d3b"
+CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc"
+LIBS_append_libc-musl = " -ltirpc"
do_configure () {
./configure --prefix=${prefix}
@@ -18,6 +21,7 @@ do_configure () {
echo "LD=${LD}" >> MCONFIG
echo "CFLAGS=${CFLAGS}" >> MCONFIG
echo "LDFLAGS=${LDFLAGS}" >> MCONFIG
+ echo "LIBS=${LIBS}" >> MCONFIG
}
do_compile () {