This is an archive of the discontinued LLVM Phabricator instance.

[clang] [clang-repl] Fix linking against LLVMLineEditor
ClosedPublic

Authored by mgorny on Aug 5 2021, 5:02 AM.

Details

Summary

LLVMLineEditor library is part of the LLVM dylib. Move it into
LLVM_LINK_COMPONENTS to avoid duplicate linking when dylib is being
used. This fixes building standalone clang against installed LLVM
without static libraries.

Diff Detail

Event Timeline

mgorny requested review of this revision.Aug 5 2021, 5:02 AM
mgorny created this revision.
v.g.vassilev accepted this revision.Aug 5 2021, 7:28 AM

Thanks!

This revision is now accepted and ready to land.Aug 5 2021, 7:28 AM
This revision was landed with ongoing or failed builds.Aug 5 2021, 7:52 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 5 2021, 7:52 AM