package/wget: add optional c-ares dependency

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Peter Seiderer 2022-03-18 21:20:43 +01:00 committed by Yann E. MORIN
parent 0554aa59d7
commit 0f2eb45332

View File

@ -54,6 +54,13 @@ else
WGET_CONF_OPTS += --without-zlib
endif
ifeq ($(BR2_PACKAGE_C_ARES),y)
WGET_CONF_OPTS += --with-cares
WGET_DEPENDENCIES += c-ares
else
WGET_CONF_OPTS += --without-cares
endif
ifeq ($(BR2_PACKAGE_PCRE2),y)
WGET_CONF_OPTS += --disable-pcre --enable-pcre2
WGET_DEPENDENCIES += pcre2