bf5bbc1dae
Since the bump of libsndfile to version 1.0.31 in commit
8c600fda64
, the check for c99 contains
"include <wchar.h>" although the package itself does not use wchar
functions outside Windows-specific code. This patch forces the
detection of c99 for toolchains lacking wchar.
Fixes:
http://autobuild.buildroot.net/results/62c/62c07e66491e2fcf32d3921f8286ec1293591194/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
32 lines
1.0 KiB
Makefile
32 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# libsndfile
|
|
#
|
|
################################################################################
|
|
|
|
LIBSNDFILE_VERSION = 1.0.31
|
|
LIBSNDFILE_SOURCE = libsndfile-$(LIBSNDFILE_VERSION).tar.bz2
|
|
LIBSNDFILE_SITE = https://github.com/libsndfile/libsndfile/releases/download/$(LIBSNDFILE_VERSION)
|
|
LIBSNDFILE_INSTALL_STAGING = YES
|
|
LIBSNDFILE_LICENSE = LGPL-2.1+
|
|
LIBSNDFILE_LICENSE_FILES = COPYING
|
|
LIBSNDFILE_CPE_ID_VENDOR = libsndfile_project
|
|
|
|
# disputed, https://github.com/erikd/libsndfile/issues/398
|
|
LIBSNDFILE_IGNORE_CVES += CVE-2018-13419
|
|
|
|
LIBSNDFILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
|
LIBSNDFILE_CONF_OPTS = \
|
|
--disable-sqlite \
|
|
--disable-alsa \
|
|
--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))
|