wine: add optional dependency on libkrb5

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
André Hentschel 2018-04-07 13:57:52 +02:00 committed by Thomas Petazzoni
parent 8aaf954ab9
commit 93481c4f28

View file

@ -23,7 +23,6 @@ WINE_CONF_OPTS = \
--without-gphoto \
--without-gsm \
--without-hal \
--without-krb5 \
--without-opencl \
--without-oss
@ -121,6 +120,13 @@ else
WINE_CONF_OPTS += --without-glu
endif
ifeq ($(BR2_PACKAGE_LIBKRB5),y)
WINE_CONF_OPTS += --with-krb5
WINE_DEPENDENCIES += libkrb5
else
WINE_CONF_OPTS += --without-krb5
endif
ifeq ($(BR2_PACKAGE_LIBPCAP),y)
WINE_CONF_OPTS += --with-pcap
WINE_DEPENDENCIES += libpcap