From: Baruch Siach Date: Sun, 23 Nov 2014 14:46:46 +0000 (+0200) Subject: czmq: fix static build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9201d558f0abe4e6a299287c926a795b28af6f4;p=buildroot.git czmq: fix static build libstdc++ may also need -lm. Fixes: http://autobuild.buildroot.net/results/aab/aab80285c54641fd7c217cdd45c4593e5c3a66c5/ Signed-off-by: Baruch Siach Signed-off-by: Thomas Petazzoni --- diff --git a/package/czmq/czmq.mk b/package/czmq/czmq.mk index 9a127265e3..25f67d5212 100644 --- a/package/czmq/czmq.mk +++ b/package/czmq/czmq.mk @@ -19,7 +19,7 @@ CZMQ_LICENSE_FILES = LICENSE CZMQ_CONF_ENV = ac_cv_prog_czmq_have_asciidoc=no ifeq ($(BR2_PREFER_STATIC_LIB),y) -CZMQ_CONF_OPTS += LIBS=-lstdc++ +CZMQ_CONF_OPTS += LIBS="-lstdc++ -lm" endif define CZMQ_CREATE_CONFIG_DIR