diff options
author | Jez Ng <jezng@fb.com> | 2021-04-16 16:46:45 -0400 |
---|---|---|
committer | Jez Ng <jezng@fb.com> | 2021-04-16 16:47:14 -0400 |
commit | ca6751043d8899b12baeb48621e61fb352cfee09 (patch) | |
tree | 1af37f5e04bc13038d5c4c6fdd1fd48f8a201339 /lld/tools | |
parent | 657b325416682e37c43756d55a31dc729a062387 (diff) | |
download | llvm-ca6751043d8899b12baeb48621e61fb352cfee09.tar.gz |
[lld-macho] Initial groundwork for -bitcode_bundle
This diff creates an empty XAR file and copies it into
`__LLVM,__bundle`. Follow-up work will actually populate the contents of
that XAR.
Reviewed By: #lld-macho, gkm
Differential Revision: https://reviews.llvm.org/D100650
Diffstat (limited to 'lld/tools')
-rw-r--r-- | lld/tools/lld/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lld/tools/lld/CMakeLists.txt b/lld/tools/lld/CMakeLists.txt index e77b2161a873..827511d35a79 100644 --- a/lld/tools/lld/CMakeLists.txt +++ b/lld/tools/lld/CMakeLists.txt @@ -20,6 +20,10 @@ target_link_libraries(lld lldWasm ) +if(HAVE_LIBXAR) + target_link_libraries(lld PRIVATE ${XAR_LIB}) +endif() + install(TARGETS lld RUNTIME DESTINATION bin) |