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
This commit is contained in:
Fangrui Song
2019-06-11 01:50:58 +00:00
parent c5830f5f05
commit fc2b5c40ae

View File

@@ -8,6 +8,7 @@ add_lld_tool(lld
target_link_libraries(lld
PRIVATE
lldCommon
lldCOFF
lldDriver
lldELF