From 989827039de43478e3ed7731a509d60ad69cfa55 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 27 Feb 2007 10:09:36 +0000 Subject: [PATCH] Fix freeradius compilation when not selecting all EAP modules (#1373) git-svn-id: svn://svn.openwrt.org/openwrt/packages@6398 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/freeradius/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/net/freeradius/Makefile b/net/freeradius/Makefile index 7493dc164..cf7b537ad 100644 --- a/net/freeradius/Makefile +++ b/net/freeradius/Makefile @@ -271,6 +271,18 @@ else PKG_CONFIGURE_OPTIONS+= --without-rlm_sql_postgresql endif +ifeq ($(CONFIG_PACKAGE_freeradius-mod-eap-tls),) + PKG_CONFIGURE_OPTIONS+= --without-rlm_eap_tls +endif + +ifeq ($(CONFIG_PACKAGE_freeradius-mod-eap-peap),) + PKG_CONFIGURE_OPTIONS+= --without-rlm_eap_peap +endif + +ifeq ($(CONFIG_PACKAGE_freeradius-mod-eap-ttls),) + PKG_CONFIGURE_OPTIONS+= --without-rlm_eap_ttls +endif + define Build/Configure $(call Build/Configure/Default, \ --libdir=/usr/lib/freeradius \ -- 2.11.0