From 12691f24e578323d9d6903db3989b343cb59a899 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 11 Dec 2009 00:37:26 +0000 Subject: mozilla-headless: Set PKG_CONFIG_ALLOW_SYSTEM_LIBS to avoid host libraries being found Signed-off-by: Richard Purdie --- meta/packages/mozilla-headless/mozilla-headless_hg.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'meta/packages/mozilla-headless') diff --git a/meta/packages/mozilla-headless/mozilla-headless_hg.bb b/meta/packages/mozilla-headless/mozilla-headless_hg.bb index 58306da59..3c6433363 100644 --- a/meta/packages/mozilla-headless/mozilla-headless_hg.bb +++ b/meta/packages/mozilla-headless/mozilla-headless_hg.bb @@ -11,7 +11,7 @@ SRC_URI = "hg://hg.mozilla.org/incubator;protocol=http;module=offscreen \ file://jsautocfg.h \ file://mozconfig" PV = "0.2+hg-1.0+${SRCPV}" -PR = "r7" +PR = "r8" S = "${WORKDIR}/offscreen" @@ -21,6 +21,12 @@ FILES_${PN} += "${libdir}/xulrunner-1.9.2a1pre ${libdir}/xulrunner-devel-1.9.2a1 FILES_${PN}-dev += "${libdir}/xulrunner-devel-1.9.2a1pre" FILES_${PN}-dbg += "${libdir}/xulrunner-devel-1.9.2a1pre/sdk/lib/.debug" +# Mozilla's build rules search for -L paths to find libraries. Its +# not clever enough to know where the sysroot is and hence finds host +# object files which is bad. We therefore tell pkg-config not to hide +# paths. See config/rules.mk and the LIBS_DEPS and _LIBDIRS variables. +export PKG_CONFIG_ALLOW_SYSTEM_LIBS = "1" + TARGET_CC_ARCH = "" CFLAGS = "${TARGET_CFLAGS}" -- cgit v1.2.3