diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-19 12:50:46 -0400 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-24 10:34:46 +0200 |
commit | da42871b0e0d05487c27a1fc20095f9954d93eba (patch) | |
tree | a5ec859d5bd2e0dd47e9d6f2440e62fd87792ed7 | |
parent | c55433ee037b2e32ac259a4484e92a2aff81062d (diff) | |
download | UXP-da42871b0e0d05487c27a1fc20095f9954d93eba.tar UXP-da42871b0e0d05487c27a1fc20095f9954d93eba.tar.gz UXP-da42871b0e0d05487c27a1fc20095f9954d93eba.tar.lz UXP-da42871b0e0d05487c27a1fc20095f9954d93eba.tar.xz UXP-da42871b0e0d05487c27a1fc20095f9954d93eba.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.build | 4 |
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 += [ |