openmp-soname.diff 613 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Index: llvm-toolchain-snapshot_7~svn335949/openmp/runtime/CMakeLists.txt
===================================================================
--- llvm-toolchain-snapshot_7~svn335949.orig/openmp/runtime/CMakeLists.txt
+++ llvm-toolchain-snapshot_7~svn335949/openmp/runtime/CMakeLists.txt
@@ -357,7 +357,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