summaryrefslogtreecommitdiff
path: root/classes/mozilla.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/mozilla.bbclass')
-rw-r--r--classes/mozilla.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/mozilla.bbclass b/classes/mozilla.bbclass
index bd8e9193d9..abf2bc7623 100644
--- a/classes/mozilla.bbclass
+++ b/classes/mozilla.bbclass
@@ -19,7 +19,7 @@ export MOZ_OBJDIR = "${S}"
export CONFIGURE_ARGS = "${EXTRA_OECONF}"
export HOST_LIBIDL_CFLAGS = "`${HOST_LIBIDL_CONFIG} --cflags`"
export HOST_LIBIDL_LIBS = "`${HOST_LIBIDL_CONFIG} --libs`"
-export HOST_LIBIDL_CONFIG = "PKG_CONFIG_PATH=${STAGING_DIR}/${BUILD_SYS}/share/pkgconfig pkg-config libIDL-2.0"
+export HOST_LIBIDL_CONFIG = "PKG_CONFIG_PATH=${STAGING_DATADIR_NATIVE}/pkgconfig pkg-config libIDL-2.0"
export HOST_CC = "${BUILD_CC}"
export HOST_CXX = "${BUILD_CXX}"
export HOST_CFLAGS = "${BUILD_CFLAGS}"
@@ -33,8 +33,8 @@ mozilla_do_configure() {
set -e
for cg in `find ${S} -name config.guess`; do
install -m 0755 \
- ${STAGING_DIR}/${BUILD_SYS}/share/gnu-config/config.guess \
- ${STAGING_DIR}/${BUILD_SYS}/share/gnu-config/config.sub \
+ ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess \
+ ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub \
`dirname $cg`/
done
)