diff options
Diffstat (limited to 'google-cpu_features-create_soname.patch')
-rw-r--r-- | google-cpu_features-create_soname.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/google-cpu_features-create_soname.patch b/google-cpu_features-create_soname.patch new file mode 100644 index 0000000..556ca78 --- /dev/null +++ b/google-cpu_features-create_soname.patch @@ -0,0 +1,13 @@ +From https://src.fedoraproject.org/rpms/google-cpu_features/blob/rawhide/f/google-cpu_features-create_soname.patch + +--- a/CMakeLists.orig.txt 2021-02-26 22:26:45.246246073 +0100 ++++ b/CMakeLists.txt 2021-02-26 22:26:09.153781594 +0100 +@@ -129,7 +129,7 @@ + list(APPEND CPU_FEATURES_SRCS $<TARGET_OBJECTS:unix_based_hardware_detection>) + endif() + add_library(cpu_features ${CPU_FEATURES_HDRS} ${CPU_FEATURES_SRCS}) +-set_target_properties(cpu_features PROPERTIES PUBLIC_HEADER "${CPU_FEATURES_HDRS}") ++set_target_properties(cpu_features PROPERTIES PUBLIC_HEADER "${CPU_FEATURES_HDRS}" SOVERSION "${CPUFEATURES_VERSION_MAJOR}" VERSION "${CPUFEATURES_VERSION}") + setup_include_and_definitions(cpu_features) + target_link_libraries(cpu_features PUBLIC ${CMAKE_DL_LIBS}) + target_include_directories(cpu_features |