summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-19 12:50:46 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-19 12:50:46 -0400
commit62c0cea342210faca131d10064ded471b3a97f11 (patch)
treef778805bfe0585a16fd051ffe1c618703161381a
parentdf2beb06efca65425d5f358306fa9323782b9a56 (diff)
downloadUXP-62c0cea342210faca131d10064ded471b3a97f11.tar
UXP-62c0cea342210faca131d10064ded471b3a97f11.tar.gz
UXP-62c0cea342210faca131d10064ded471b3a97f11.tar.lz
UXP-62c0cea342210faca131d10064ded471b3a97f11.tar.xz
UXP-62c0cea342210faca131d10064ded471b3a97f11.zip
Put Request.cpp and Response.cpp back into UNIFIED in dom/fetch due to linux linker errors
Reference: 15:03.06 ../../build/unix/gold/ld: error: /home/mattatobin/development/.obj/trunk-master/navigator-x64-gtk3/toolkit/library/../../dom/fetch/Request.o: requires dynamic R_X86_64_PC32 reloc against '_ZN7mozilla3dom9FetchBodyINS0_7RequestEED2Ev' which may overflow at runtime; recompile with -fPIC 15:03.06 ../../build/unix/gold/ld: error: /home/mattatobin/development/.obj/trunk-master/navigator-x64-gtk3/toolkit/library/../../dom/fetch/Response.o: requires dynamic R_X86_64_PC32 reloc against '_ZN7mozilla3dom9FetchBodyINS0_8ResponseEED2Ev' which may overflow at runtime; recompile with -fPIC 15:03.06 ../../build/unix/gold/ld: error: read-only segment has dynamic relocations 15:03.07 /home/mattatobin/development/.obj/trunk-master/navigator-x64-gtk3/toolkit/library/../../dom/fetch/Request.o:Request.cpp:function mozilla::dom::Request::~Request(): error: undefined reference to 'mozilla::dom::FetchBody<mozilla::dom::Request>::~FetchBody()' 15:03.07 /home/mattatobin/development/.obj/trunk-master/navigator-x64-gtk3/toolkit/library/../../dom/fetch/Response.o:Response.cpp:function mozilla::dom::Response::~Response(): error: undefined reference to 'mozilla::dom::FetchBody<mozilla::dom::Response>::~FetchBody()'
-rw-r--r--dom/fetch/moz.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/fetch/moz.build b/dom/fetch/moz.build
index f93487e09..be820ab57 100644
--- a/dom/fetch/moz.build
+++ b/dom/fetch/moz.build
@@ -21,6 +21,8 @@ EXPORTS.mozilla.dom += [
UNIFIED_SOURCES += [
'Fetch.cpp',
'FetchConsumer.cpp',
+ 'Request.cpp',
+ 'Response.cpp',
]
SOURCES += [
@@ -31,8 +33,6 @@ SOURCES += [
'InternalHeaders.cpp',
'InternalRequest.cpp',
'InternalResponse.cpp',
- 'Request.cpp',
- 'Response.cpp',
]
IPDL_SOURCES += [