summaryrefslogtreecommitdiff
path: root/dom/fetch
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 /dom/fetch
parentdf2beb06efca65425d5f358306fa9323782b9a56 (diff)
downloaduxp-62c0cea342210faca131d10064ded471b3a97f11.tar.gz
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()'
Diffstat (limited to 'dom/fetch')
-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 f93487e092..be820ab570 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 += [