[oe-commits] Chris Larson : libpcre: the generated libtool uses HOST_SYS
git version control
git at git.openembedded.org
Wed Aug 24 01:25:26 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: 039b1a04db32bed23536a23983c3b6d91e1166c7
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=039b1a04db32bed23536a23983c3b6d91e1166c7
Author: Chris Larson <chris_larson at mentor.com>
Date: Fri Aug 19 14:56:23 2011 -0700
libpcre: the generated libtool uses HOST_SYS
Signed-off-by: Chris Larson <chris_larson at mentor.com>
---
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 2972c1a..54d1f98 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
do_compile () {
# stop libtool from trying to link with host libraries - fix from #33
# this resolve build problem on amd64 - #1015
- if [ -e ${S}/${TARGET_SYS}-libtool ] ; then
- sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${TARGET_SYS}-libtool
+ if [ -e ${S}/${HOST_SYS}-libtool ] ; then
+ sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${HOST_SYS}-libtool
else
- ln -sf ${S}/libtool ${S}/${TARGET_SYS}-libtool
- sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${TARGET_SYS}-libtool
+ ln -sf ${S}/libtool ${S}/${HOST_SYS}-libtool
+ sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${HOST_SYS}-libtool
fi
# The generation of dftables can lead to timestamp problems with ccache
More information about the Openembedded-commits
mailing list