diff --git a/package/whois/Config.in b/package/whois/Config.in index d2a030282b..19c22b5583 100644 --- a/package/whois/Config.in +++ b/package/whois/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_WHOIS bool "whois" depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC help Improved whois client. diff --git a/package/whois/whois.mk b/package/whois/whois.mk index 5a85bea358..e98add4e6a 100644 --- a/package/whois/whois.mk +++ b/package/whois/whois.mk @@ -10,6 +10,7 @@ WHOIS_SOURCE = whois_$(WHOIS_VERSION).tar.xz WHOIS_DEPENDENCIES = \ host-pkgconf \ $(if $(BR2_PACKAGE_LIBIDN2),libidn2) \ + $(if $(BR2_PACKAGE_LIBXCRYPT),libxcrypt) \ $(TARGET_NLS_DEPENDENCIES) WHOIS_MAKE_ENV = $(TARGET_MAKE_ENV) WHOIS_MAKE_OPTS = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \