slackware-current/source/l/protobuf/soversion.patch

31 lines
1.3 KiB
Diff
Raw Normal View History

--- ./cmake/libprotobuf.cmake.orig 2024-03-12 13:01:14.000000000 -0500
+++ ./cmake/libprotobuf.cmake 2024-03-18 14:15:16.062497366 -0500
@@ -36,6 +36,7 @@
endif()
set_target_properties(libprotobuf PROPERTIES
VERSION ${protobuf_VERSION}
+ SOVERSION ${protobuf_VERSION_MINOR}
OUTPUT_NAME ${LIB_PREFIX}protobuf
DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}"
# For -fvisibility=hidden and -fvisibility-inlines-hidden
--- ./cmake/libprotobuf-lite.cmake.orig 2024-03-12 13:01:14.000000000 -0500
+++ ./cmake/libprotobuf-lite.cmake 2024-03-18 14:15:16.061497366 -0500
@@ -33,6 +33,7 @@
endif()
set_target_properties(libprotobuf-lite PROPERTIES
VERSION ${protobuf_VERSION}
+ SOVERSION ${protobuf_VERSION_MINOR}
OUTPUT_NAME ${LIB_PREFIX}protobuf-lite
DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}"
# For -fvisibility=hidden and -fvisibility-inlines-hidden
--- ./cmake/libprotoc.cmake.orig 2024-03-12 13:01:14.000000000 -0500
+++ ./cmake/libprotoc.cmake 2024-03-18 14:15:16.062497366 -0500
@@ -27,6 +27,7 @@
set_target_properties(libprotoc PROPERTIES
COMPILE_DEFINITIONS LIBPROTOC_EXPORTS
VERSION ${protobuf_VERSION}
+ SOVERSION ${protobuf_VERSION_MINOR}
OUTPUT_NAME ${LIB_PREFIX}protoc
DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}"
# For -fvisibility=hidden and -fvisibility-inlines-hidden