package/libsndfile: add external libs support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: dependencies fit on a single line]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2021-05-23 12:11:20 +02:00 committed by Yann E. MORIN
parent 8c600fda64
commit dbc6e9e9f3

View File

@ -18,7 +18,13 @@ LIBSNDFILE_IGNORE_CVES += CVE-2018-13419
LIBSNDFILE_CONF_OPTS = \
--disable-sqlite \
--disable-alsa \
--disable-external-libs \
--disable-full-suite
ifeq ($(BR2_PACKAGE_FLAC)$(BR2_PACKAGE_LIBVORBIS)$(BR2_PACKAGE_OPUS),yyy)
LIBSNDFILE_DEPENDENCIES += flac host-pkgconf libvorbis opus
LIBSNDFILE_CONF_OPTS += --enable-external-libs
else
LIBSNDFILE_CONF_OPTS += --disable-external-libs
endif
$(eval $(autotools-package))