From: LLVM Packaging Team Date: Wed, 8 Jul 2020 08:49:26 +0000 (+0100) Subject: openmp-soname X-Git-Tag: archive/raspbian/1%10.0.1_+rc4-1+rpi1^2~57 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8ba6f95dc88b15115f722f65c7db07755e2038c3;p=llvm-toolchain-10.git openmp-soname =================================================================== Gbp-Pq: Name openmp-soname.diff --- diff --git a/openmp/runtime/CMakeLists.txt b/openmp/runtime/CMakeLists.txt index 40a0fb9af..0b5887e86 100644 --- a/openmp/runtime/CMakeLists.txt +++ b/openmp/runtime/CMakeLists.txt @@ -341,7 +341,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