diff options
-rw-r--r-- | recipes/glibc/glibc-stage.inc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/recipes/glibc/glibc-stage.inc b/recipes/glibc/glibc-stage.inc index 2b7b303c14..cb9ab04e1f 100644 --- a/recipes/glibc/glibc-stage.inc +++ b/recipes/glibc/glibc-stage.inc @@ -5,12 +5,10 @@ do_stage() { '${STAGING_DIR_HOST}${layout_base_libdir}/libc.so.6' \ install - install -d ${STAGING_INCDIR}/gnu \ - ${STAGING_INCDIR}/bits \ - ${STAGING_INCDIR}/rpcsvc - install -m 0644 ${S}/include/gnu/stubs.h ${STAGING_INCDIR}/gnu/ - install -m 0644 ${B}/bits/stdio_lim.h ${STAGING_INCDIR}/bits/ - install -m 0644 misc/syscall-list.h ${STAGING_INCDIR}/bits/syscall.h + # "make install" omits some (not all) RPC headers that other distros + # ship. + install -d ${STAGING_INCDIR}/rpcsvc + for r in ${rpcsvc}; do h=`echo $r|sed -e's,\.x$,.h,'` install -m 0644 ${S}/sunrpc/rpcsvc/$h ${STAGING_INCDIR}/rpcsvc/ |