wine: Add dependency check for ALSA
Fixes: http://autobuild.buildroot.org/results/018/018391c5e70d33bc0b5745ad7a2a273efa9be0d7/ Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
1821532307
commit
81230a5b3a
|
@ -29,6 +29,13 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
|
|||
WINE_CONF_OPTS += TARGETFLAGS="-b $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PREFIX))"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_SEQ),yy)
|
||||
WINE_CONF_OPTS += --with-alsa
|
||||
WINE_DEPENDENCIES += alsa-lib
|
||||
else
|
||||
WINE_CONF_OPTS += --without-alsa
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CUPS),y)
|
||||
WINE_CONF_OPTS += --with-cups
|
||||
WINE_DEPENDENCIES += cups
|
||||
|
|
Loading…
Reference in a new issue