ea30f82
diff -up xpdf-4.04/xpdf/CMakeLists.txt.shared-xpdf-lib xpdf-4.04/xpdf/CMakeLists.txt
ea30f82
--- xpdf-4.04/xpdf/CMakeLists.txt.shared-xpdf-lib	2023-01-30 14:30:07.185779720 -0500
ea30f82
+++ xpdf-4.04/xpdf/CMakeLists.txt	2023-01-30 14:31:41.942842314 -0500
ea30f82
@@ -78,6 +78,13 @@ add_library(xpdf_objs OBJECT
ea30f82
 set_property(TARGET xpdf_objs
ea30f82
              PROPERTY POSITION_INDEPENDENT_CODE True)
ea30f82
 
ea30f82
+add_library(xpdfcore
ea30f82
+  $<TARGET_OBJECTS:xpdf_objs>
ea30f82
+)
ea30f82
+
ea30f82
+set_target_properties(xpdfcore PROPERTIES VERSION 4 SOVERSION 4)
ea30f82
+
ea30f82
+
ea30f82
 #--- object files needed by XpdfWidget
ea30f82
 
ea30f82
 if ((QT4_FOUND OR Qt5Widgets_FOUND OR Qt6Widgets_FOUND)