summaryrefslogtreecommitdiff
path: root/recipes/mozilla/firefox.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mozilla/firefox.inc')
-rw-r--r--recipes/mozilla/firefox.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes/mozilla/firefox.inc b/recipes/mozilla/firefox.inc
index 1be9c4da8f..8526a8d151 100644
--- a/recipes/mozilla/firefox.inc
+++ b/recipes/mozilla/firefox.inc
@@ -30,6 +30,13 @@ FILES_${PN}-dbg += " ${libdir}/${PN}-*/.debug \
${bindir}/.debug \
"
+export HOST_LIBIDL_CONFIG = "${STAGING_BINDIR_NATIVE}/libIDL-config-2"
+
+# Due to sysroot we need to sed out references to the target staging when building the native version of xpidl
+# Symptons of the failure include "gthread.h:344: error: size of array 'type name' is negative"
+export HOST_LIBIDL_CFLAGS = "`${HOST_LIBIDL_CONFIG} --cflags | sed -e s:${STAGING_DIR_TARGET}:${STAGING_DIR_NATIVE}:g`"
+
+
do_install() {
oe_runmake DESTDIR="${D}" destdir="${D}" install
install -d ${D}${datadir}/applications