mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 15:49:32 +02:00
icu: Fix -native version so it doesn't use target substituions in configure step
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -17,12 +17,16 @@ do_configure() {
|
|||||||
libtoolize --force
|
libtoolize --force
|
||||||
gnu-configize --force
|
gnu-configize --force
|
||||||
oe_runconf
|
oe_runconf
|
||||||
for i in */Makefile */*.inc */*/Makefile */*/*.inc ; do
|
if [ "${BUILD_ARCH}" != "${HOST_ARCH" ]; then
|
||||||
sed -i -e 's:$(INVOKE) $(BINDIR)/:$(INVOKE) :g' $i
|
# In the non-native case we need to make substitutions to use
|
||||||
sed -i -e 's:$(BINDIR)/::g' $i
|
# the native versions of the tools
|
||||||
done
|
for i in */Makefile */*.inc */*/Makefile */*/*.inc ; do
|
||||||
sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc || true
|
sed -i -e 's:$(INVOKE) $(BINDIR)/:$(INVOKE) :g' $i
|
||||||
sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc.in || true
|
sed -i -e 's:$(BINDIR)/::g' $i
|
||||||
|
done
|
||||||
|
sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc || true
|
||||||
|
sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc.in || true
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
|
|||||||
Reference in New Issue
Block a user