screengrab/fix-no-undefined-builderror.patch
Michael Vetter 5c0d0e3285 Accepting request 999695 from home:sfalken:branches:X11:LXQt
- Add fix-no-undefined-builderror.patch, to correct failing build.  [gh#lxqt/screengrab#310]
- Cleaned up %build section
- Modified %files, due to new additions from upstream

OBS-URL: https://build.opensuse.org/request/show/999695
OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/screengrab?expand=0&rev=35
2022-08-29 07:20:56 +00:00

19 lines
582 B
Diff

diff -ruNp screengrab-orig/src/modules/extedit/CMakeLists.txt screengrab/src/modules/extedit/CMakeLists.txt
--- screengrab-orig/src/modules/extedit/CMakeLists.txt
+++ screengrab/src/modules/extedit/CMakeLists.txt
@@ -24,12 +24,10 @@ qt5_translation_loader(extedit_QM_LOADER
)
add_library(extedit
- SHARED
+ STATIC
${extedit_SRC}
${extedit_QMS}
${extedit_QM_LOADER}
)
-set_property (TARGET extedit PROPERTY SOVERSION 1.0.0)
-install(TARGETS extedit DESTINATION ${SG_LIBDIR})
target_link_libraries(extedit Qt5::Widgets Qt5::X11Extras Qt5Xdg)