diff options
Diffstat (limited to 'libharu-soname.patch')
-rw-r--r-- | libharu-soname.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libharu-soname.patch b/libharu-soname.patch new file mode 100644 index 0000000..48f5a95 --- /dev/null +++ b/libharu-soname.patch @@ -0,0 +1,12 @@ +diff -up libharu-2.4.2/src/CMakeLists.txt.soname libharu-2.4.2/src/CMakeLists.txt +--- libharu-2.4.2/src/CMakeLists.txt.soname 2022-10-04 20:54:26.641706094 -0600 ++++ libharu-2.4.2/src/CMakeLists.txt 2022-10-04 20:57:37.804353062 -0600 +@@ -73,6 +73,8 @@ set( + # create hpdf library + # ======================================================================= + add_library(hpdf ${LIBHPDF_SRCS}) ++# Fedora - set soname since upstream doesn't care about ABI compatibility ++set_target_properties(hpdf PROPERTIES SOVERSION ${PROJECT_VERSION}) + if (PNG_FOUND) + include_directories (${PNG_INCLUDE_DIRS}) + target_link_libraries (hpdf ${PNG_LIBRARIES}) |