From: Jan Engelhardt Date: 2025-02-23 21:57:59.617153408 +0100 Unversioned libraries are uncool; add an unambiguous suffix to it. (To mimic libtool's -release, the build recipe needs to rename libcpuinfo-suse.so back to libcpuinfo.so.) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4634a22..87178a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -259,6 +259,7 @@ ELSEIF(CPUINFO_LIBRARY_TYPE STREQUAL "static") ELSE() MESSAGE(FATAL_ERROR "Unsupported library type ${CPUINFO_LIBRARY_TYPE}") ENDIF() +set_target_properties(cpuinfo PROPERTIES OUTPUT_NAME cpuinfo-suse SOVERSION 0) ADD_LIBRARY(cpuinfo_internals STATIC ${CPUINFO_SRCS}) CPUINFO_TARGET_ENABLE_C99(cpuinfo) CPUINFO_TARGET_ENABLE_C99(cpuinfo_internals)