$OpenBSD: patch-qtc_clib_qtc_Makefile_am,v 1.2 2003/06/12 19:16:15 espie Exp $
--- qtc/clib/qtc/Makefile.am.orig	Wed May  7 13:44:32 2003
+++ qtc/clib/qtc/Makefile.am	Wed Jun 11 11:35:39 2003
@@ -29,7 +29,7 @@ include_HEADERS =
 # here you should add all header files, which shouldnt be installed
 noinst_HEADERS =
 
-libqtc_la_LDFLAGS = $(all_libraries) -no-undefined -version-info $(SOMAJOR):$(SOMINOR):$(SOSUBMINOR)
+libqtc_la_LDFLAGS = -pthread $(all_libraries) -no-undefined -version-info $(SOMAJOR):$(SOMINOR):$(SOSUBMINOR)
 
 # add here the libraries which have to be include
 # for building the shared lib
@@ -41,5 +41,5 @@ libqtc_la_LDFLAGS = $(all_libraries) -no
 #  in here.
 #  The following line is only a suggestion!
 #
-libqtc_la_LIBADD = -lqt-mt -lXext -lX11 -lqui
+libqtc_la_LIBADD = -lqt-mt -lXext -lX11 -lqui-mt
 
