diff options
| author | Mariusz Ceier <mceier+llvm@gmail.com> | 2021-05-19 11:07:39 -0400 |
|---|---|---|
| committer | Nico Weber <thakis@chromium.org> | 2021-05-19 11:15:07 -0400 |
| commit | 9383e9c1e627b49cc1c80c2e6117132734a2fba8 (patch) | |
| tree | 10e6f6a6544ddce97b154beb379548647f41b068 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 66963bf3819df4f47bd874a946af058f0c1c4ec0 (diff) | |
Fix lld macho standalone build by including llvm/Config/llvm-config.h instead of llvm/Config/config.h
lld/MachO/Driver.cpp and lld/MachO/SyntheticSections.cpp include
llvm/Config/config.h which doesn't exist when building standalone lld.
This patch replaces llvm/Config/config.h include with llvm/Config/llvm-config.h
just like it is in lld/ELF/Driver.cpp and HAVE_LIBXAR with LLVM_HAVE_LIXAR and
moves LLVM_HAVE_LIBXAR from config.h to llvm-config.h
Also it adds LLVM_HAVE_LIBXAR to LLVMConfig.cmake and links liblldMachO2.so
with XAR_LIB if LLVM_HAVE_LIBXAR is set.
Differential Revision: https://reviews.llvm.org/D102084
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
