czmq: fix static build
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>
This commit is contained in:
parent
956823ded7
commit
2b88b05443
@ -18,6 +18,10 @@ CZMQ_LICENSE_FILES = LICENSE
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user