From: Fabrice Fontaine Date: Sun, 23 May 2021 10:11:20 +0000 (+0200) Subject: package/libsndfile: add external libs support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dbc6e9e9f385995eb10bbfb0bb08e7674100ce66;p=buildroot.git package/libsndfile: add external libs support Signed-off-by: Fabrice Fontaine [yann.morin.1998@free.fr: dependencies fit on a single line] Signed-off-by: Yann E. MORIN --- diff --git a/package/libsndfile/libsndfile.mk b/package/libsndfile/libsndfile.mk index 2505e8d17f..69530c98ed 100644 --- a/package/libsndfile/libsndfile.mk +++ b/package/libsndfile/libsndfile.mk @@ -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))