commit | 68f7efb9eacb54bfdc8c1c7068e86a09f8c4b2a7 | [log] [tgz] |
---|---|---|
author | Fangrui Song <maskray@google.com> | Tue Jun 11 01:50:58 2019 +0000 |
committer | Fangrui Song <maskray@google.com> | Tue Jun 11 01:50:58 2019 +0000 |
tree | d02d24c11a361934b30053ebd091594449c9dbe2 | |
parent | 35260de9aa67ed885548205e053e28f02a1c25ff [diff] |
Fix -DBUILD_SHARED_LIBS=on build after r362977 The executable has an undefined reference to lld::Saver, the library should be explicitly linked. git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@363023 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/lld/CMakeLists.txt b/tools/lld/CMakeLists.txt index d882949..a15e296 100644 --- a/tools/lld/CMakeLists.txt +++ b/tools/lld/CMakeLists.txt
@@ -8,6 +8,7 @@ target_link_libraries(lld PRIVATE + lldCommon lldCOFF lldDriver lldELF