czmq: fix static build
PATCH 1/1 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/
--- package/czmq/czmq.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/czmq/czmq.mk +4 -0
@@ -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
Signature · 1 line
2.1.3
PATCH 1/1 czmq: fix static build
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
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 <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard