File lightspark-0.5.7-underlinking.patch of Package lightspark

Index: src/plugin/CMakeLists.txt
===================================================================
--- src/plugin/CMakeLists.txt.orig
+++ src/plugin/CMakeLists.txt
@@ -49,7 +49,7 @@ TARGET_LINK_LIBRARIES(lightsparkplugin s
 
 #With STATICDEPS, all deps are compiled into spark
 IF(NOT STATICDEPS)
-  TARGET_LINK_LIBRARIES(lightsparkplugin spark ${X11_LIBRARIES} ${GLIBMM_LIBRARIES})
+  TARGET_LINK_LIBRARIES(lightsparkplugin spark ${X11_LIBRARIES} ${GLIBMM_LIBRARIES} ${GTK_LIBRARIES} ${GTHREAD_LIBRARIES})
 ENDIF()
 
 IF(WIN32)