diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-09-04 10:34:19 -0700 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-09-12 10:55:08 -0400 |
commit | 58db2c981b8cea7f0b4a47a2cd4bb3251cc33e37 (patch) | |
tree | b8456116ef882f242f7d59578e2959084c80be38 /meta-networking | |
parent | bb110dfed7bef1c948afdd656afc8e7fb65d9386 (diff) | |
download | meta-openembedded-58db2c981b8cea7f0b4a47a2cd4bb3251cc33e37.tar.gz |
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>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb | 4 |
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 75ec07cfe..9487fdc2c 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" | |||
4 | LICENSE = "SPL-1.0" | 4 | LICENSE = "SPL-1.0" |
5 | LIC_FILES_CHKSUM = "file://rpcinfo/rpcinfo.c;beginline=2;endline=3;md5=3e6339e3ce266e1122c5ba293e04bc89" | 5 | LIC_FILES_CHKSUM = "file://rpcinfo/rpcinfo.c;beginline=2;endline=3;md5=3e6339e3ce266e1122c5ba293e04bc89" |
6 | 6 | ||
7 | DEPENDS_append_libc-musl = " libtirpc" | ||
7 | SRC_URI = "http://sources.openembedded.org/${BPN}-${PV}.tar.gz \ | 8 | SRC_URI = "http://sources.openembedded.org/${BPN}-${PV}.tar.gz \ |
8 | file://gcc4.patch \ | 9 | file://gcc4.patch \ |
9 | file://0001-rpcgen-Fix-printf-formats.patch \ | 10 | file://0001-rpcgen-Fix-printf-formats.patch \ |
10 | " | 11 | " |
11 | SRC_URI[md5sum] = "67212720482ea1aea9182a98653a9642" | 12 | SRC_URI[md5sum] = "67212720482ea1aea9182a98653a9642" |
12 | SRC_URI[sha256sum] = "421d63b414162237a72867061f1bd3e3752a0d962cd5d30b5e933ddad8a14d3b" | 13 | SRC_URI[sha256sum] = "421d63b414162237a72867061f1bd3e3752a0d962cd5d30b5e933ddad8a14d3b" |
14 | CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" | ||
15 | LIBS_append_libc-musl = " -ltirpc" | ||
13 | 16 | ||
14 | do_configure () { | 17 | do_configure () { |
15 | ./configure --prefix=${prefix} | 18 | ./configure --prefix=${prefix} |
@@ -18,6 +21,7 @@ do_configure () { | |||
18 | echo "LD=${LD}" >> MCONFIG | 21 | echo "LD=${LD}" >> MCONFIG |
19 | echo "CFLAGS=${CFLAGS}" >> MCONFIG | 22 | echo "CFLAGS=${CFLAGS}" >> MCONFIG |
20 | echo "LDFLAGS=${LDFLAGS}" >> MCONFIG | 23 | echo "LDFLAGS=${LDFLAGS}" >> MCONFIG |
24 | echo "LIBS=${LIBS}" >> MCONFIG | ||
21 | } | 25 | } |
22 | 26 | ||
23 | do_compile () { | 27 | do_compile () { |