aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2024-03-19 08:48:57 +0200
committerGitHub <noreply@github.com>2024-03-19 08:48:57 +0200
commitcb2ca23345d3d9bde027a18d301949e8bdf606a6 (patch)
tree00fdf6c9c1b1bf8fdf8fc889040e47ed04a61f8c /flang/lib/Frontend/CompilerInvocation.cpp
parentb1752ddf0a97969cdd931e6431c953cfd4079e50 (diff)
downloadllvm-cb2ca23345d3d9bde027a18d301949e8bdf606a6.zip
llvm-cb2ca23345d3d9bde027a18d301949e8bdf606a6.tar.gz
llvm-cb2ca23345d3d9bde027a18d301949e8bdf606a6.tar.bz2
[llvm-shlib] Fix the version naming style of libLLVM for Windows (#85710)
This reverts the changes from 91a384621e5b762d9c173ffd247cfeadd5f436a2 for Windows targets. The changes in that commit don't work as expected for Windows targets (those parts of llvm_add_library don't quite behave the same for Windows), while the previous status quo (producing a library named "libLLVM-<major>.dll") is the defacto standard way of doing versioned library names there, contrary to on Unix. After that commit, the library always ended up named "libLLVM.dll", executables linking against it would reference "libLLVM.dll", and "libLLVM-<major>.dll" was provided as a symlink. Thus revert this bit back to as it were, so that executables actually link against a versioned libLLVM, and no separate symlink is needed. The only thing that might be improved compared to the status quo as it was before these changes, is that the import library is named "lib/libLLVM-<major>.dll.a", while the common style would be to name it plainly "lib/libLLVM.dll.a" (even while it produces references to "libLLVM-<major>.dll", but none of these had that effect for Windows targets. (As a side note, the llvm-shlib library can be built for MinGW, but not currently in MSVC configurations.)
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions