]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Build EAP-PWD only if we're using OpenSSL
authorAlan T. DeKok <aland@freeradius.org>
Wed, 22 Feb 2012 10:31:38 +0000 (11:31 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 22 Feb 2012 15:48:31 +0000 (16:48 +0100)
src/modules/rlm_eap/types/rlm_eap_pwd/Makefile
src/modules/rlm_eap/types/rlm_eap_pwd/all.mk

index 44ff3130f3898d9feb9b2fce272f68e24c716704..5e9f727c4aa18a3e158094af1f4eb2e7990e2087 100644 (file)
@@ -4,7 +4,12 @@
 # Version:     $Id$
 #
 
+ifneq "$(OPENSSL_LIBS)" ""
 TARGET      = rlm_eap_pwd
+else
+TARGET     =
+endif
+
 SRCS        = rlm_eap_pwd.c eap_pwdc
 HEADERS     = rlm_eap_pwd.h eap_pwd.h
 RLM_CFLAGS  = -I../.. -I../../libeap
index a2339caf08794cc0cf13316831f32f66868b5c9c..432ee9dc1dc2f3c2e625ce23c1349dd9ca17e39f 100644 (file)
@@ -1,4 +1,9 @@
+ifneq "$(OPENSSL_LIBS)" ""
 TARGET      := rlm_eap_pwd.a
+else
+TARGET      :=
+endif
+
 SOURCES     := rlm_eap_pwd.c eap_pwd.c
 HEADERS     = eap_pwd.h rlm_eap_pwd.h