aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pcre/pcre_4.4.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-05-26 08:18:23 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-26 08:18:23 +0000
commitda00a360001e1122b8add2c2c95480728c89cadb (patch)
tree6ceb87b55b5f73b7bb090d13eedfff6194d09037 /packages/pcre/pcre_4.4.bb
parent1bdd82295819fdd8eda7a2a2dfa0f75b92eb1f40 (diff)
downloadopenembedded-da00a360001e1122b8add2c2c95480728c89cadb.tar.gz
pcre: stop libtool from trying to link with host libraries - fix from #33
- this resolve build problem on amd64 - #1015
Diffstat (limited to 'packages/pcre/pcre_4.4.bb')
-rw-r--r--packages/pcre/pcre_4.4.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/pcre/pcre_4.4.bb b/packages/pcre/pcre_4.4.bb
index a3deda5da7..451d44b17c 100644
--- a/packages/pcre/pcre_4.4.bb
+++ b/packages/pcre/pcre_4.4.bb
@@ -5,7 +5,7 @@ provides a POSIX calling interface to PCRE; the regular expressions \
themselves still follow Perl syntax and semantics. The header file for \
the POSIX-style functions is called pcreposix.h."
SECTION = "devel"
-PR = "r4"
+PR = "r5"
LICENSE = "BSD"
SRC_URI = "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-${PV}.tar.bz2"
S = "${WORKDIR}/pcre-${PV}"
@@ -19,6 +19,10 @@ CFLAGS_append = " -D_REENTRANT"
EXTRA_OECONF = " --with-link-size=2 --enable-newline-is-lf --with-match-limit=10000000"
do_compile () {
+ # stop libtool from trying to link with host libraries - fix from #33
+ # this resolve build problem on amd64 - #1015
+ sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${TARGET_SYS}-libtool
+
# The generation of dftables can lead to timestamp problems with ccache
# because the generated config.h seems newer. It is sufficient to ensure that the
# attempt to build dftables inside make will actually work (foo_FOR_BUILD is