Commit band-aid for pcre until someone finds a better solution
authorJustin Patrin <papercrane@gmail.com>
Fri, 12 Aug 2005 05:27:36 +0000 (05:27 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 12 Aug 2005 05:27:36 +0000 (05:27 +0000)
packages/pcre/pcre_4.4.bb

index 609a808..9f15384 100644 (file)
@@ -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}/