diff options
author | Diana Picus <diana.picus@linaro.org> | 2022-05-02 11:41:07 +0000 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2022-05-16 08:30:53 +0000 |
commit | 3d2e05d542e646891745c5278a09950d3c4fb4a5 (patch) | |
tree | d91e0be6f7580b879c40af661e9191a2306e00dc /lldb/source/Commands/CommandObjectScript.cpp | |
parent | 05c3fe075d608a3e14f6ab272a24132912ebc861 (diff) | |
download | llvm-3d2e05d542e646891745c5278a09950d3c4fb4a5.zip llvm-3d2e05d542e646891745c5278a09950d3c4fb4a5.tar.gz llvm-3d2e05d542e646891745c5278a09950d3c4fb4a5.tar.bz2 |
[flang] Install Fortran_main library
At the moment the Fortran_main library is not installed, so it cannot be
found by the driver when run from an install directory. This patch fixes
the issue by replacing llvm_add_library with add_flang_library, which
already contains all the proper incantations for installing a library.
It also enhances add_flang_library to support a STATIC arg which forces
the library to be static even when BUILD_SHARED_LIBS is on.
Differential Revision: https://reviews.llvm.org/D124759
Co-authored-by: Dan Palermo <Dan.Palermo@amd.com>
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions