[webkit] Make sure not to pick up host harfbuzz
When cross compiling dependencies.
Change-Id: Ia893786a9ba7556b3f78a3d1a5a6f852802d009a
diff --git a/Tools/fuchsia/build_freetype.sh b/Tools/fuchsia/build_freetype.sh
index 8a83b7d..95a8298 100755
--- a/Tools/fuchsia/build_freetype.sh
+++ b/Tools/fuchsia/build_freetype.sh
@@ -27,11 +27,13 @@
source $(dirname $BASH_SOURCE)/deps.sh
stamp_name=freetype
+config_option="--with-harfbuzz=no"
while getopts ":hb" arg; do
case $arg in
b) # Do a clean build
stamp_name=freetype_hb
+ config_option="--with-harfbuzz=yes"
;;
h | *) # Display help.
usage
@@ -73,7 +75,7 @@
cd $FREETYPE_ROOT
-$FREETYPE_ROOT/configure --prefix=$FUCHSIA_CROSS_ROOT --host=x86_64-fuchsia-elf
+$FREETYPE_ROOT/configure --prefix=$FUCHSIA_CROSS_ROOT --host=x86_64-fuchsia-elf $config_option
make $PARALLEL
make install