Browse files

depends: fix freetype build with crystax ndk

  • Loading branch information...
1 parent 0fcf266 commit df6ef3a4d40f0bdacad6c33655fcaeca5f43b29c Cory Fields committed Mar 12, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 tools/depends/target/config.site.in
View
5 tools/depends/target/config.site.in
@@ -150,6 +150,11 @@ if test "@platform_os@" = "ios"; then
fi
fi
+#Fix for older, broken android toolchains
+if test "${PACKAGE_NAME}" = "FreeType" -a "@platform_os@" = "android"; then
+ CFLAGS="$CFLAGS -std=gnu99"
+fi
+
# These libs do not correctly export their symbols. Force them in case
# -fvisibility=hidden is set.
if test "${ac_unique_file}" = "src/flac/main.c" || \

0 comments on commit df6ef3a

Please sign in to comment.