File xfce4-screenshooter-fix-plugin-linking.patch of Package xfce4-screenshooter
Index: xfce4-screenshooter-1.8.1/Makefile.am =================================================================== --- xfce4-screenshooter-1.8.1.orig/Makefile.am +++ xfce4-screenshooter-1.8.1/Makefile.am @@ -132,13 +132,19 @@ panel_plugin_libscreenshooterplugin_la_C @SOUP_CFLAGS@ panel_plugin_libscreenshooterplugin_la_LDFLAGS = \ + -avoid-version \ + -module \ + -no-undefined \ + -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \ + $(PLATFORM_LDFLAGS) + +panel_plugin_libscreenshooterplugin_la_LIBADD = \ @EXO_LIBS@ \ @LIBXFCE4PANEL_LIBS@ \ @GTHREAD_LIBS@ \ @SOUP_LIBS@ \ - @LIBXFCE4UI_LIBS@ - -panel_plugin_libscreenshooterplugin_la_LIBADD = lib/libscreenshooter.la + @LIBXFCE4UI_LIBS@ \ + lib/libscreenshooter.la panel_plugin_libscreenshooterplugin_la_SOURCES = \ panel-plugin/screenshooter-plugin.c