diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-08-19 14:56:23 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-23 18:23:31 -0700 |
commit | 86c90582f45a1cf92429c36236de745c6caa8254 (patch) | |
tree | dc4cc902d771bebd149b30a5696f435622c52d29 /meta/recipes-support/libpcre | |
parent | a0dc330b4abbb31c3c131a4cb1762555e5e109a1 (diff) | |
download | poky-86c90582f45a1cf92429c36236de745c6caa8254.tar.gz |
libpcre: the generated libtool uses HOST_SYS
(From OE-Core rev: 039b1a04db32bed23536a23983c3b6d91e1166c7)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libpcre')
-rw-r--r-- | meta/recipes-support/libpcre/libpcre_8.12.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-support/libpcre/libpcre_8.12.bb b/meta/recipes-support/libpcre/libpcre_8.12.bb index 2972c1a51f..54d1f98406 100644 --- a/meta/recipes-support/libpcre/libpcre_8.12.bb +++ b/meta/recipes-support/libpcre/libpcre_8.12.bb | |||
@@ -30,11 +30,11 @@ EXTRA_OECONF = " --with-link-size=2 --enable-newline-is-lf --with-match-limit=10 | |||
30 | do_compile () { | 30 | do_compile () { |
31 | # stop libtool from trying to link with host libraries - fix from #33 | 31 | # stop libtool from trying to link with host libraries - fix from #33 |
32 | # this resolve build problem on amd64 - #1015 | 32 | # this resolve build problem on amd64 - #1015 |
33 | if [ -e ${S}/${TARGET_SYS}-libtool ] ; then | 33 | if [ -e ${S}/${HOST_SYS}-libtool ] ; then |
34 | sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${TARGET_SYS}-libtool | 34 | sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${HOST_SYS}-libtool |
35 | else | 35 | else |
36 | ln -sf ${S}/libtool ${S}/${TARGET_SYS}-libtool | 36 | ln -sf ${S}/libtool ${S}/${HOST_SYS}-libtool |
37 | sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${TARGET_SYS}-libtool | 37 | sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${HOST_SYS}-libtool |
38 | fi | 38 | fi |
39 | 39 | ||
40 | # The generation of dftables can lead to timestamp problems with ccache | 40 | # The generation of dftables can lead to timestamp problems with ccache |