#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_qt_link.dpatch by  Matthias Klose <doko@ubuntu.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: 

@DPATCH@

--- scim-qtimm-0.9.4.orig/src/Makefile.am
+++ scim-qtimm-0.9.4/src/Makefile.am
@@ -24,7 +24,7 @@
 # the application source, library search path, and link libraries
 libqscim_la_SOURCES = plugin.cpp qsciminputcontext.cpp
 libqscim_la_LDFLAGS = -avoid-version -rpath $(pkglibdir) -module $(all_libraries)
-libqscim_la_LIBADD = @SCIM_LIBS@ @SCIM_X11_LIBS@
+libqscim_la_LIBADD = @SCIM_LIBS@ $(LIB_QT) @SCIM_X11_LIBS@
 
 #KDE_OPTIONS = qtonly
 
only in patch2:
unchanged:
--- scim-qtimm-0.9.4.orig/src/Makefile.in
+++ scim-qtimm-0.9.4/src/Makefile.in
@@ -256,7 +256,7 @@
 # the application source, library search path, and link libraries
 libqscim_la_SOURCES = plugin.cpp qsciminputcontext.cpp
 libqscim_la_LDFLAGS = -avoid-version -rpath $(pkglibdir) -module $(all_libraries)
-libqscim_la_LIBADD = @SCIM_LIBS@ @SCIM_X11_LIBS@
+libqscim_la_LIBADD = @SCIM_LIBS@ $(LIB_QT) @SCIM_X11_LIBS@
 
 
 #KDE_OPTIONS = qtonly
