llvm-shlib: Fix libLLVM-${MAJOR}.so symlink on MacOS (#85163)
commitbcf98bd8419997f006811b6f40703e4e791972e6
authorTom Stellard <tstellar@redhat.com>
Fri, 15 Mar 2024 15:16:46 +0000 (15 08:16 -0700)
committerllvmbot <60944935+llvmbot@users.noreply.github.com>
Tue, 19 Mar 2024 19:48:35 +0000 (19 12:48 -0700)
tree41d2788796b5bfd2fe670a6a79ac41ccf41b18f6
parentb1f1effacf32150021e1ae93afcd3933a66f8260
llvm-shlib: Fix libLLVM-${MAJOR}.so symlink on MacOS (#85163)

This is a partial revert of 10c48a772742b7afe665a815b7eba2047f17dc4b
with a fix for the symlink target name on MacOS

See #84637

(cherry picked from commit ec2b7522dbee1cb91111d6ade6e1768462247dcf)
llvm/cmake/modules/AddLLVM.cmake
llvm/tools/llvm-shlib/CMakeLists.txt