Skip to contentSkip to conversation

firefox: workaround for freetype-config breakage

PATCH In review Koen Kooi 2 participants 2 messages Jul 8, 2014 – Aug 6, 2014

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

PATCH 1/1 firefox: workaround for freetype-config breakage

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.

---
 recipes-mozilla/firefox/firefox_10.0.11esr.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-mozilla/firefox/firefox_10.0.11esr.bb +1 -0
index 1a1178c..98da1a4 100644
@@ -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
Signature · 1 line
1.9.3
#1 lore raw
Quoted 1 line · Koen Kooi

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.

I've merged this one.

Thanks

Quoted 25 lines
---
 recipes-mozilla/firefox/firefox_10.0.11esr.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-mozilla/firefox/firefox_10.0.11esr.bb +1 -0
index 1a1178c..98da1a4 100644
@@ -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
Signature · 7 lines
1.9.3

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]