diff options
author | Fangrui Song <maskray@google.com> | 2019-06-11 01:50:58 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-06-11 01:50:58 +0000 |
commit | fc2b5c40ae48527d73e0e9a3194d26cd932bb053 (patch) | |
tree | aabf529a5a972d8279f861c3add9abfd209795d5 /lld/tools | |
parent | c5830f5f05a4ecb6ae0db0aa386af733f6113b77 (diff) | |
download | llvm-fc2b5c40ae48527d73e0e9a3194d26cd932bb053.tar.gz |
Fix -DBUILD_SHARED_LIBS=on build after r362977
The executable has an undefined reference to lld::Saver, the library
should be explicitly linked.
llvm-svn: 363023
Diffstat (limited to 'lld/tools')
-rw-r--r-- | lld/tools/lld/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/tools/lld/CMakeLists.txt b/lld/tools/lld/CMakeLists.txt index d8829493fc22..a15e296e31df 100644 --- a/lld/tools/lld/CMakeLists.txt +++ b/lld/tools/lld/CMakeLists.txt @@ -8,6 +8,7 @@ add_lld_tool(lld target_link_libraries(lld PRIVATE + lldCommon lldCOFF lldDriver lldELF |