Index: openswan-2.4.8/programs/pluto/Makefile
===================================================================
--- openswan-2.4.8.orig/programs/pluto/Makefile	2007-06-04 13:22:49.950261688 +0200
+++ openswan-2.4.8/programs/pluto/Makefile	2007-06-04 13:22:50.017251504 +0200
@@ -265,7 +265,7 @@
 LIBSPLUTO+=$(HAVE_THREADS_LIBS) ${XAUTHPAM_LIBS}
 LIBSPLUTO+=${CURL_LIBS} 
 LIBSPLUTO+=${EXTRA_CRYPTO_LIBS}
-LIBSPLUTO+= -lgmp -lresolv # -lefence
+LIBSPLUTO+=$(EXTRA_LIBS) -lgmp -lresolv # -lefence
 
 ifneq ($(LD_LIBRARY_PATH),)
 LDFLAGS=-L$(LD_LIBRARY_PATH)
