diff options
-rw-r--r-- | meta/packages/icu/icu-3.6.inc | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/meta/packages/icu/icu-3.6.inc b/meta/packages/icu/icu-3.6.inc index 90b4729bfc..e8d4f48d22 100644 --- a/meta/packages/icu/icu-3.6.inc +++ b/meta/packages/icu/icu-3.6.inc | |||
@@ -17,12 +17,16 @@ do_configure() { | |||
17 | libtoolize --force | 17 | libtoolize --force |
18 | gnu-configize --force | 18 | gnu-configize --force |
19 | oe_runconf | 19 | oe_runconf |
20 | for i in */Makefile */*.inc */*/Makefile */*/*.inc ; do | 20 | if [ "${BUILD_ARCH}" != "${HOST_ARCH" ]; then |
21 | sed -i -e 's:$(INVOKE) $(BINDIR)/:$(INVOKE) :g' $i | 21 | # In the non-native case we need to make substitutions to use |
22 | sed -i -e 's:$(BINDIR)/::g' $i | 22 | # the native versions of the tools |
23 | done | 23 | for i in */Makefile */*.inc */*/Makefile */*/*.inc ; do |
24 | sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc || true | 24 | sed -i -e 's:$(INVOKE) $(BINDIR)/:$(INVOKE) :g' $i |
25 | sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc.in || true | 25 | sed -i -e 's:$(BINDIR)/::g' $i |
26 | done | ||
27 | sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc || true | ||
28 | sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc.in || true | ||
29 | fi | ||
26 | } | 30 | } |
27 | 31 | ||
28 | do_compile() { | 32 | do_compile() { |