2b88b05443
czmq configure script uses gcc to test zmq linking so libstdc++ is not added automatically. Do this manually. Fixes: http://autobuild.buildroot.net/results/7b7/7b7f7614206cf9b8fef48f49cb060eca356d4949/ http://autobuild.buildroot.net/results/b3a/b3abff021d23ef0f685a44901b6041ba45bd35d7/ http://autobuild.buildroot.net/results/1f0/1f033d04231c5f058513cbca0d437b96260fbd7a/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
32 lines
804 B
Makefile
32 lines
804 B
Makefile
################################################################################
|
|
#
|
|
# czmq
|
|
#
|
|
################################################################################
|
|
|
|
CZMQ_VERSION = v3.0.0
|
|
CZMQ_SITE = $(call github,zeromq,czmq,$(CZMQ_VERSION))
|
|
|
|
# Autoreconf required as we use the git tree
|
|
CZMQ_AUTORECONF = YES
|
|
CZMQ_INSTALL_STAGING = YES
|
|
CZMQ_DEPENDENCIES = zeromq
|
|
CZMQ_LICENSE = MPLv2.0
|
|
CZMQ_LICENSE_FILES = LICENSE
|
|
|
|
# asciidoc is a python script that imports unicodedata, which is not in
|
|
# host-python, so disable asciidoc entirely.
|
|
CZMQ_CONF_ENV = ac_cv_prog_czmq_have_asciidoc=no
|
|
|
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
|
CZMQ_CONF_OPTS += LIBS=-lstdc++
|
|
endif
|
|
|
|
define CZMQ_CREATE_CONFIG_DIR
|
|
mkdir -p $(@D)/config
|
|
endef
|
|
|
|
CZMQ_POST_PATCH_HOOKS += CZMQ_CREATE_CONFIG_DIR
|
|
|
|
$(eval $(autotools-package))
|