From: LLVM Packaging Team Date: Thu, 11 Jan 2024 13:15:09 +0000 (+0100) Subject: openmp-soname X-Git-Tag: archive/raspbian/1%19.1.3-1+rpi1~2^2~73 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=18696153f24f57bce7c0e88cf2fba4119b42846e;p=llvm-toolchain-19.git openmp-soname =================================================================== Gbp-Pq: Name openmp-soname.diff --- diff --git a/openmp/runtime/CMakeLists.txt b/openmp/runtime/CMakeLists.txt index 2b7a3eb5bf..29e347ac09 100644 --- a/openmp/runtime/CMakeLists.txt +++ b/openmp/runtime/CMakeLists.txt @@ -380,7 +380,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