diff -Nru freeradius-server-2.1.12.orig//src/modules/rlm_eap/libeap/Makefile freeradius-server-2.1.12/src/modules/rlm_eap/libeap/Makefile
--- freeradius-server-2.1.12.orig//src/modules/rlm_eap/libeap/Makefile	2011-11-20 12:48:22.000000000 +0100
+++ freeradius-server-2.1.12/src/modules/rlm_eap/libeap/Makefile	2011-11-20 12:49:19.000000000 +0100
@@ -9,6 +9,7 @@
 SRCS		= eapcommon.c eapcrypto.c eapsimlib.c fips186prf.c
 ifneq ($(OPENSSL_LIBS),)
 SRCS		+= cb.c eap_tls.c mppe_keys.c tls.c
+LIBS		+= $(OPENSSL_LIBS)
 endif
 LT_OBJS		= $(SRCS:.c=.lo)
 INCLUDES	= eap_types.h eap_tls.h
