kumquat-buildroot/package/czmq/czmq.mk
Romain Naour 5926d871a0 package/czmq: fix discovery of libzmq for static build
Backport and rebase a patch from upstream:
313714f8b7

Also, remove the fix in czmq.mk for static build.

Fixes:
http://autobuild.buildroot.net/results/ec4/ec414b52f9cdd8d7d365283e21479519e63c7d97/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-15 14:37:12 +01:00

28 lines
731 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
define CZMQ_CREATE_CONFIG_DIR
mkdir -p $(@D)/config
endef
CZMQ_POST_PATCH_HOOKS += CZMQ_CREATE_CONFIG_DIR
$(eval $(autotools-package))