--- configure.orig	Fri Mar  4 00:46:13 2005
+++ configure	Sat Mar 26 00:52:51 2005
@@ -1109,7 +1109,7 @@
 	saved_CFLAGS="$CFLAGS"
 
 	# First just try to see if it exists in the default location
-	LIBS="$saved_LIBS -lssl -lcrypto"
+	LIBS="$saved_LIBS -L__PREFIX__/lib -lssl -lcrypto"
 	CFLAGS="$saved_CFLAGS"
 	cat > conftest.$ac_ext <<EOF
 #line 1116 "configure"
