From ca3236ed5064fd64602f9f1c9a437f2b75408079 Mon Sep 17 00:00:00 2001 From: Justin Patrin Date: Fri, 12 Aug 2005 05:27:36 +0000 Subject: Commit band-aid for pcre until someone finds a better solution --- packages/pcre/pcre_4.4.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages') diff --git a/packages/pcre/pcre_4.4.bb b/packages/pcre/pcre_4.4.bb index 609a808891..9f153847a4 100644 --- a/packages/pcre/pcre_4.4.bb +++ b/packages/pcre/pcre_4.4.bb @@ -27,6 +27,10 @@ do_compile () { } do_stage () { + # Force all -L(dir) output to be prepended with the staging libdir to stop libtool + # from trying to link to host libraries. + sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/*libtool + oe_libinstall -a -so libpcre ${STAGING_LIBDIR} oe_libinstall -a -so libpcreposix ${STAGING_LIBDIR} install -m 0644 pcre.h ${STAGING_INCDIR}/ -- cgit v1.2.3