kumquat-buildroot/package/libqb/libqb.mk
Fabrice Fontaine 1176b02a1c package/libqb: needs threads and dynamic library
libqb fails to build without threads or dynamic library since the
addition of the package in commit
22864d570d

Also add ac_cv_prog_cc_c99=-std=gnu99 to fix build failure without wchar

Fixes:
 - http://autobuild.buildroot.org/results/21c1b5d29da4949f4582056ab4e2335ec225d8d6
 - http://autobuild.buildroot.org/results/aa4df6364cdf3c862be13b6b738595f420ec6105
 - http://autobuild.buildroot.org/results/376d316094238ba7097e8bdc51960ba38532683a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-07-18 14:01:37 +02:00

21 lines
623 B
Makefile

################################################################################
#
# libqb
#
################################################################################
LIBQB_VERSION = 2.0.2
LIBQB_SITE = $(call github,ClusterLabs,libqb,v$(LIBQB_VERSION))
LIBQB_LICENSE = LGPL-2.1+
LIBQB_LICENSE_FILES = COPYING
LIBQB_CPE_ID_VENDOR = clusterlabs
LIBQB_INSTALL_STAGING = YES
LIBQB_AUTORECONF = YES
LIBQB_DEPENDENCIES = libxml2
# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
# provided by autoconf relies on wchar_t.
LIBQB_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99
$(eval $(autotools-package))