summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb b/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb
index 9c480b825f..8977a37cf0 100644
--- a/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb
+++ b/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb
@@ -23,6 +23,20 @@ EXTRA_OECONF = "--disable-gssapi"
23 23
24do_install_append() { 24do_install_append() {
25 chown root:root ${D}${sysconfdir}/netconfig 25 chown root:root ${D}${sysconfdir}/netconfig
26 install -d ${D}${includedir}/rpc
27 install -d ${D}${includedir}/rpcsvc
28 for link_header in ${D}${includedir}/tirpc/rpc/*; do
29 if [ -f $link_header -a ! -e ${D}/${includedir}/rpc/$(basename $link_header) ]; then
30 ln -sf ../tirpc/rpc/$(basename $link_header) ${D}${includedir}/rpc/$(basename $link_header)
31 fi
32 done
33 for link_header in ${D}${includedir}/tirpc/rpcsvc/*; do
34 if [ -f $link_header -a ! -e ${D}/${includedir}/rpcsvc/$(basename $link_header) ]; then
35 ln -sf ../tirpc/rpc/$(basename $link_header) ${D}${includedir}/rpcsvc/$(basename $link_header)
36 fi
37 done
38 ln -sf tirpc/netconfig.h ${D}/${includedir}/netconfig.h
39
26} 40}
27 41
28BBCLASSEXTEND = "native nativesdk" 42BBCLASSEXTEND = "native nativesdk"