240aae4793
rapidjson has been added as a dependency of pistache as part of commit
2f32185679
("package/pistache: bump
version & switch to meson build"), using a "depends on". However, as
it is a library dependency, a "select" is normally used in Buildroot.
rapidjson's only dependency is on C++ support, which is already a
dependency of pistache.
In addition, use = instead of += for the rapidjson dependency in the
.mk file, as it's an unconditional dependency.
Cc: Thomas Ruschival <thomas@ruschival.de>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
24 lines
689 B
Makefile
24 lines
689 B
Makefile
################################################################################
|
|
#
|
|
# pistache
|
|
#
|
|
################################################################################
|
|
|
|
PISTACHE_VERSION = 3ec9d7c4f8b828fdd391550fff81b01e72dd6269
|
|
PISTACHE_SITE = $(call github,oktal,pistache,$(PISTACHE_VERSION))
|
|
PISTACHE_LICENSE = Apache-2.0
|
|
PISTACHE_LICENSE_FILES = LICENSE
|
|
|
|
PISTACHE_INSTALL_STAGING = YES
|
|
PISTACHE_DEPENDENCIES = rapidjson
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
PISTACHE_DEPENDENCIES += openssl
|
|
PISTACHE_CONF_OPTS += -DPISTACHE_USE_SSL=true
|
|
PISTACHE_CONF_OPTS += -DPISTACHE_ENABLE_NETWORK_TESTS=false
|
|
else
|
|
PISTACHE_CONF_OPTS += -DPISTACHE_USE_SSL=false
|
|
endif
|
|
|
|
$(eval $(meson-package))
|