[oe] [meta-browser][PATCH] firefox: workaround for freetype-config breakage

Koen Kooi koen.kooi at linaro.org
Tue Jul 8 12:32:39 UTC 2014


All binconfig scripts in OE-core have been disabled, leading to -I/usr/include/freetype2 disappearing from C(PP)FLAGS. Add it in manually as a workaround, mozilla autotools are a maze and not easily fixed.

Signed-off-by: Koen Kooi <koen.kooi at linaro.org>
---
 recipes-mozilla/firefox/firefox_10.0.11esr.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-mozilla/firefox/firefox_10.0.11esr.bb b/recipes-mozilla/firefox/firefox_10.0.11esr.bb
index 1a1178c..98da1a4 100644
--- a/recipes-mozilla/firefox/firefox_10.0.11esr.bb
+++ b/recipes-mozilla/firefox/firefox_10.0.11esr.bb
@@ -85,6 +85,7 @@ inherit mozilla
 EXTRA_OEMAKE = "installdir=${libdir}/${PN}"
 
 ARM_INSTRUCTION_SET = "arm"
+TARGET_CC_ARCH += " -I${STAGING_INCDIR}/freetype2"
 
 do_install() {
 	oe_runmake DESTDIR="${D}" destdir="${D}" install
-- 
1.9.3




More information about the Openembedded-devel mailing list