--- a/Makefile.in	2012-02-13 18:01:23.505279581 +0100
+++ b/Makefile.in	2012-02-13 18:04:17.070140233 +0100
@@ -77,7 +77,7 @@
 INSTALL=@INSTALL@
 CPPFLAGS=@CPPFLAGS@
 CFLAGS+=-I. -I$(srcdir) $(CPPFLAGS) @CFLAGS@
-LIBS+=@LIBS@
+LIBS+=@CRYPTLIB@ @LIBS@
 LDFLAGS=@LDFLAGS@
 
 EXEEXT=@EXEEXT@
