czmq: fix static build
libstdc++ may also need -lm. Fixes: http://autobuild.buildroot.net/results/aab/aab80285c54641fd7c217cdd45c4593e5c3a66c5/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
3112f4bb18
commit
e9201d558f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user