aboutsummaryrefslogtreecommitdiff
path: root/lld/tools
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-06-03 19:58:43 +0100
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-06-03 19:58:43 +0100
commit90344499ae76dffa56363e2f167c2c34a76cbfaf (patch)
treecbd27b504593060cda66af8c7b044461dc484adc /lld/tools
parentd1d36f7ad2ae82bea8a6fcc40d6c42a72e21f096 (diff)
downloadllvm-90344499ae76dffa56363e2f167c2c34a76cbfaf.zip
llvm-90344499ae76dffa56363e2f167c2c34a76cbfaf.tar.gz
llvm-90344499ae76dffa56363e2f167c2c34a76cbfaf.tar.bz2
[lld-macho] Fix BUILD_SHARED_LIBS build
ca6751043d8899b12baeb48621e61fb352cfee09 added a dependency on XAR (at least for the shared libs build), so without this change we get the following linker error: Undefined symbols for architecture x86_64: "_xar_close", referenced from: lld::macho::BitcodeBundleSection::finalize() in SyntheticSections.cpp.o Reviewed By: #lld-macho, int3, thakis Differential Revision: https://reviews.llvm.org/D100999
Diffstat (limited to 'lld/tools')
-rw-r--r--lld/tools/lld/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/lld/tools/lld/CMakeLists.txt b/lld/tools/lld/CMakeLists.txt
index 738f484..e77b216 100644
--- a/lld/tools/lld/CMakeLists.txt
+++ b/lld/tools/lld/CMakeLists.txt
@@ -20,10 +20,6 @@ target_link_libraries(lld
lldWasm
)
-if(LLVM_HAVE_LIBXAR)
- target_link_libraries(lld PRIVATE ${XAR_LIB})
-endif()
-
install(TARGETS lld
RUNTIME DESTINATION bin)