diff --git a/package/freeradius-server/Config.in b/package/freeradius-server/Config.in index d51d92714d..e99778ea49 100644 --- a/package/freeradius-server/Config.in +++ b/package/freeradius-server/Config.in @@ -6,6 +6,7 @@ config BR2_PACKAGE_FREERADIUS_SERVER depends on BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBTALLOC + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC help FreeRADIUS is an open source server which implements a protocol for remote user Authorization, Authentication diff --git a/package/freeradius-server/freeradius-server.mk b/package/freeradius-server/freeradius-server.mk index 1e8ada6bb9..c64ae79918 100644 --- a/package/freeradius-server/freeradius-server.mk +++ b/package/freeradius-server/freeradius-server.mk @@ -119,6 +119,10 @@ else FREERADIUS_SERVER_CONF_OPTS += --without-pcap endif +ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) +FREERADIUS_SERVER_DEPENDENCIES += libxcrypt +endif + ifeq ($(BR2_PACKAGE_LINUX_PAM),y) FREERADIUS_SERVER_CONF_OPTS += --with-rlm_pam FREERADIUS_SERVER_DEPENDENCIES += linux-pam