summaryrefslogtreecommitdiff
path: root/packages/pcre/pcre_4.4.bb
diff options
context:
space:
mode:
authorJustin Patrin <papercrane@gmail.com>2005-08-12 05:27:36 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-12 05:27:36 +0000
commitca3236ed5064fd64602f9f1c9a437f2b75408079 (patch)
treed9d73ca7efcc3870e47dedd38d135a26c085a6ea /packages/pcre/pcre_4.4.bb
parentba5936b4ded409b26b9c29dbd2c22807eaec456f (diff)
Commit band-aid for pcre until someone finds a better solution
Diffstat (limited to 'packages/pcre/pcre_4.4.bb')
-rw-r--r--packages/pcre/pcre_4.4.bb4
1 files changed, 4 insertions, 0 deletions
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}/