From: LLVM Packaging Team Date: Sat, 11 Jun 2022 07:09:03 +0000 (+0100) Subject: openmp-soname X-Git-Tag: archive/raspbian/1%14.0.5-1+rpi1^2~69 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3959135949341f160bc8e92c4699c9e665facfc0;p=llvm-toolchain-14.git openmp-soname =================================================================== Gbp-Pq: Name openmp-soname.diff --- diff --git a/openmp/runtime/CMakeLists.txt b/openmp/runtime/CMakeLists.txt index c9dbcb2ab2..88ea5967c6 100644 --- a/openmp/runtime/CMakeLists.txt +++ b/openmp/runtime/CMakeLists.txt @@ -371,7 +371,8 @@ else() set(LIBOMP_INSTALL_KIND ARCHIVE) endif() -set(LIBOMP_LIB_FILE ${LIBOMP_LIB_NAME}${LIBOMP_LIBRARY_SUFFIX}) +set(LIBOMP_LIB_FILE ${LIBOMP_LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX}.${LIBOMP_VERSION_MAJOR}) + # Optional backwards compatibility aliases. set(LIBOMP_INSTALL_ALIASES TRUE CACHE BOOL