diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-12-11 00:37:26 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-12-11 00:37:26 +0000 |
commit | 12691f24e578323d9d6903db3989b343cb59a899 (patch) | |
tree | 8a5d1896aba3145a928a3d6ba0626f01c17ec4cf /meta/packages/mozilla-headless/mozilla-headless_hg.bb | |
parent | ac397328a0408e560c4eb03ec2833e3e0c46bb50 (diff) | |
download | poky-12691f24e578323d9d6903db3989b343cb59a899.tar.gz |
mozilla-headless: Set PKG_CONFIG_ALLOW_SYSTEM_LIBS to avoid host libraries being found
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/mozilla-headless/mozilla-headless_hg.bb')
-rw-r--r-- | meta/packages/mozilla-headless/mozilla-headless_hg.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/packages/mozilla-headless/mozilla-headless_hg.bb b/meta/packages/mozilla-headless/mozilla-headless_hg.bb index 58306da590..3c6433363f 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 \ | |||
11 | file://jsautocfg.h \ | 11 | file://jsautocfg.h \ |
12 | file://mozconfig" | 12 | file://mozconfig" |
13 | PV = "0.2+hg-1.0+${SRCPV}" | 13 | PV = "0.2+hg-1.0+${SRCPV}" |
14 | PR = "r7" | 14 | PR = "r8" |
15 | 15 | ||
16 | S = "${WORKDIR}/offscreen" | 16 | S = "${WORKDIR}/offscreen" |
17 | 17 | ||
@@ -21,6 +21,12 @@ FILES_${PN} += "${libdir}/xulrunner-1.9.2a1pre ${libdir}/xulrunner-devel-1.9.2a1 | |||
21 | FILES_${PN}-dev += "${libdir}/xulrunner-devel-1.9.2a1pre" | 21 | FILES_${PN}-dev += "${libdir}/xulrunner-devel-1.9.2a1pre" |
22 | FILES_${PN}-dbg += "${libdir}/xulrunner-devel-1.9.2a1pre/sdk/lib/.debug" | 22 | FILES_${PN}-dbg += "${libdir}/xulrunner-devel-1.9.2a1pre/sdk/lib/.debug" |
23 | 23 | ||
24 | # Mozilla's build rules search for -L paths to find libraries. Its | ||
25 | # not clever enough to know where the sysroot is and hence finds host | ||
26 | # object files which is bad. We therefore tell pkg-config not to hide | ||
27 | # paths. See config/rules.mk and the LIBS_DEPS and _LIBDIRS variables. | ||
28 | export PKG_CONFIG_ALLOW_SYSTEM_LIBS = "1" | ||
29 | |||
24 | TARGET_CC_ARCH = "" | 30 | TARGET_CC_ARCH = "" |
25 | 31 | ||
26 | CFLAGS = "${TARGET_CFLAGS}" | 32 | CFLAGS = "${TARGET_CFLAGS}" |