diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-17 15:37:57 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-17 15:37:57 +0100 |
commit | aa16a97138329b6315506d403d0712002fc9347f (patch) | |
tree | f4f6e7610b71b70ea242d3a5bae5445d3adc6904 /meta/packages | |
parent | 865381df6e8f69a88af01bcfe01ed7b900d6281d (diff) | |
download | poky-aa16a97138329b6315506d403d0712002fc9347f.tar.gz |
mozilla-headless: Add patch to remove bad rpath-link options from the linker commands
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/mozilla-headless/mozilla-headless/removebadrpath.patch | 26 | ||||
-rw-r--r-- | meta/packages/mozilla-headless/mozilla-headless_hg.bb | 3 |
2 files changed, 28 insertions, 1 deletions
diff --git a/meta/packages/mozilla-headless/mozilla-headless/removebadrpath.patch b/meta/packages/mozilla-headless/mozilla-headless/removebadrpath.patch new file mode 100644 index 0000000000..9409105780 --- /dev/null +++ b/meta/packages/mozilla-headless/mozilla-headless/removebadrpath.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Index: offscreen/js/src/configure.in | ||
2 | =================================================================== | ||
3 | --- offscreen.orig/js/src/configure.in 2009-06-17 14:31:40.000000000 +0100 | ||
4 | +++ offscreen/js/src/configure.in 2009-06-17 14:31:40.000000000 +0100 | ||
5 | @@ -880,7 +880,7 @@ | ||
6 | HOST_AR_FLAGS='$(AR_FLAGS)' | ||
7 | |||
8 | MOZ_JS_LIBS='-L$(libdir) -lmozjs' | ||
9 | -MOZ_FIX_LINK_PATHS='-Wl,-rpath-link,$(LIBXUL_DIST)/bin -Wl,-rpath-link,$(PREFIX)/lib' | ||
10 | +MOZ_FIX_LINK_PATHS='-Wl,-rpath-link,$(LIBXUL_DIST)/bin' | ||
11 | |||
12 | MOZ_COMPONENT_NSPR_LIBS='-L$(LIBXUL_DIST)/bin $(NSPR_LIBS)' | ||
13 | MOZ_XPCOM_OBSOLETE_LIBS='-L$(LIBXUL_DIST)/lib -lxpcom_compat' | ||
14 | Index: offscreen/configure.in | ||
15 | =================================================================== | ||
16 | --- offscreen.orig/configure.in 2009-06-17 15:09:44.000000000 +0100 | ||
17 | +++ offscreen/configure.in 2009-06-17 15:10:00.000000000 +0100 | ||
18 | @@ -1060,7 +1060,7 @@ | ||
19 | |||
20 | MOZ_JS_LIBS='-L$(LIBXUL_DIST)/bin -lmozjs' | ||
21 | DYNAMIC_XPCOM_LIBS='-L$(LIBXUL_DIST)/bin -lxpcom -lxpcom_core' | ||
22 | -MOZ_FIX_LINK_PATHS='-Wl,-rpath-link,$(LIBXUL_DIST)/bin -Wl,-rpath-link,$(prefix)/lib' | ||
23 | +MOZ_FIX_LINK_PATHS='-Wl,-rpath-link,$(LIBXUL_DIST)/bin' | ||
24 | XPCOM_FROZEN_LDOPTS='-L$(LIBXUL_DIST)/bin -lxpcom' | ||
25 | LIBXUL_LIBS='$(XPCOM_FROZEN_LDOPTS) -lxul' | ||
26 | XPCOM_GLUE_LDOPTS='$(LIBXUL_DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) $(XPCOM_FROZEN_LDOPTS)' | ||
diff --git a/meta/packages/mozilla-headless/mozilla-headless_hg.bb b/meta/packages/mozilla-headless/mozilla-headless_hg.bb index 73a12a81b1..fb24cd9ef4 100644 --- a/meta/packages/mozilla-headless/mozilla-headless_hg.bb +++ b/meta/packages/mozilla-headless/mozilla-headless_hg.bb | |||
@@ -5,10 +5,11 @@ SRC_URI = "hg://hg.mozilla.org/incubator;protocol=http;rev=${FIXEDREV};module=of | |||
5 | file://configurefix.patch;patch=1 \ | 5 | file://configurefix.patch;patch=1 \ |
6 | file://0001-Adds-initial-Gtk-clipboard-support-to-moz-headless.patch;patch=1 \ | 6 | file://0001-Adds-initial-Gtk-clipboard-support-to-moz-headless.patch;patch=1 \ |
7 | file://mozilla-jemalloc.patch;patch=1 \ | 7 | file://mozilla-jemalloc.patch;patch=1 \ |
8 | file://removebadrpath.patch;patch=1 \ | ||
8 | file://jsautocfg.h \ | 9 | file://jsautocfg.h \ |
9 | file://mozconfig" | 10 | file://mozconfig" |
10 | PV = "0.0+hg-1.0+${FIXEDREV}" | 11 | PV = "0.0+hg-1.0+${FIXEDREV}" |
11 | PR = "r3" | 12 | PR = "r5" |
12 | 13 | ||
13 | S = "${WORKDIR}/offscreen" | 14 | S = "${WORKDIR}/offscreen" |
14 | 15 | ||