diff -ur voms-1.9.14.3.orig/src/client/Makefile.am voms-1.9.14.3/src/client/Makefile.am
--- voms-1.9.14.3.orig/src/client/Makefile.am 2009-04-07 11:05:29.000000000 +0200
+++ voms-1.9.14.3/src/client/Makefile.am 2009-12-29 00:18:17.405868413 +0100
@@ -12,7 +12,7 @@
voms_proxy_init_LDADD = \
$(top_builddir)/src/api/ccapi/libvomsapi_nog.la \
$(top_builddir)/src/sslutils/libssl_utils_nog.la \
- $(EXPAT_LIBS)
+ $(OPENSSL_LIBS) -lpthread
AM_CPPFLAGS = -I$(top_srcdir)/src/api/ccapi \
-I$(top_srcdir)/src/include \
diff -ur voms-1.9.14.3.orig/src/server/Makefile.am voms-1.9.14.3/src/server/Makefile.am
--- voms-1.9.14.3.orig/src/server/Makefile.am 2009-04-07 11:05:29.000000000 +0200
+++ voms-1.9.14.3/src/server/Makefile.am 2009-12-29 00:19:18.580869075 +0100
@@ -20,7 +20,7 @@
$(top_builddir)/src/replib/librep.la \
$(top_builddir)/src/log/liblog.la \
$(top_builddir)/src/api/ccapi/$(USE_CCAPI_LIB) \
- $(EXPAT_LIBS)
+ $(EXPAT_LIBS) -lpthread
voms_LDFLAGS =
diff -ur voms-1.9.14.3.orig/src/utils/Makefile.am voms-1.9.14.3/src/utils/Makefile.am
--- voms-1.9.14.3.orig/src/utils/Makefile.am 2009-07-16 15:10:41.000000000 +0200
+++ voms-1.9.14.3/src/utils/Makefile.am 2009-12-29 00:16:31.097869074 +0100
@@ -12,7 +12,7 @@
$(top_builddir)/src/replib/librep.la \
$(top_builddir)/src/log/liblog.la \
$(top_builddir)/src/sslutils/libssl_utils_nog.la \
- $(EXPAT_LIBS)
+ $(OPENSSL_LIBS) -lpthread
voms_proxy_destroy_SOURCES = \
voms_proxy_destroy.cc
@@ -22,7 +22,7 @@
$(top_builddir)/src/sslutils/libssl_utils_nog.la \
$(top_builddir)/src/replib/librep.la \
$(top_builddir)/src/log/liblog.la \
- $(EXPAT_LIBS)
+ $(OPENSSL_LIBS) -lpthread
voms_proxy_fake_SOURCES = \
vomsfake.h \
@@ -41,7 +41,7 @@
$(top_builddir)/src/ac/libattributes_nog.la \
$(top_builddir)/src/common/libutilc_nog.la \
$(top_builddir)/src/replib/librep.la \
- $(top_builddir)/src/sslutils/libssl_utils_nog.la
+ $(top_builddir)/src/sslutils/libssl_utils_nog.la -lpthread
AM_CPPFLAGS = \
-I$(top_srcdir)/src/api/ccapi \