[Buildroot] [PATCH] freetype: add some dependencies

Steve Kenton skenton at ou.edu
Sun Dec 14 00:07:51 UTC 2014

freetype needs fenv.h which is not available on uClibc except for x86, add dependencies

Signed-off-by Stephen M. Kenton <skenton at ou.edu>
Modeled on the python-numpy solution to the same fenv.h problem
diff -ru buildroot/package/freetype/Config.in buildroot.modified/package/freetype/Config.in
--- buildroot/package/freetype/Config.in	2014-12-13 17:45:34.547751176 -0600
+++ buildroot.modified/package/freetype/Config.in	2014-12-13 17:43:32.723748839 -0600
@@ -1,5 +1,8 @@
 	bool "freetype"
+	# freetype needs fenv.h. Available for all architectures in
+	# glibc, but only for x86 and x86-64 in uClibc.
+	depends on !BR2_TOOLCHAIN_USES_UCLIBC || BR2_i386 || BR2_x86_64
 	  a free, high-quality and portable font engine.

More information about the buildroot mailing list