Kaydet (Commit) 25b5e391 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Use a dummy icu-config when cross-compiling harfbuzz (to Android)

Seems that when cross-compiling to Android from Linux, we apparently
have used either the build platform's pkg-config files for ICU, or the
build platform's icu-config. Both of which are obviously the wrong
thing to do, but apparently it has worked by accident anyway.

This makes building for Android on OS X proceed past harfbuzz, at least.

Change-Id: I27351f6177438697a1cded642c8c669ba7221009
üst ea374ab5
...@@ -21,6 +21,7 @@ $(eval $(call gb_ExternalProject_use_externals,harfbuzz,\ ...@@ -21,6 +21,7 @@ $(eval $(call gb_ExternalProject_use_externals,harfbuzz,\
$(call gb_ExternalProject_get_state_target,harfbuzz,build) : $(call gb_ExternalProject_get_state_target,harfbuzz,build) :
$(call gb_ExternalProject_run,build,\ $(call gb_ExternalProject_run,build,\
$(if $(CROSS_COMPILING),PATH=$(SRCDIR)/external/icu/cross-bin:$$PATH) \
./configure \ ./configure \
--enable-static \ --enable-static \
--disable-shared \ --disable-shared \
......
#!/bin/sh
case $1 in
--version)
echo whatever
;;
--cppflags)
echo ${ICU_CFLAGS}
;;
--ldflags-searchpath)
echo ${ICU_LIBS}
esac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment