From a6365c5c3d277af355c51d7aee969f261dc5a751 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Thu, 21 Dec 2017 17:27:57 -0500 Subject: [PATCH] depends: fix libzmq's needless linking against libstdc++ This is broken for a number of reasons, including: - g++ understands "-static-libstdc++ -lstdc++" to mean "link against whatever libstdc++ exists, probably shared", which in itself is buggy. - another stdlib (libc++ for example) may be in use --- depends/packages/zeromq.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/depends/packages/zeromq.mk b/depends/packages/zeromq.mk index 74bf4e9e11..3f97221e10 100644 --- a/depends/packages/zeromq.mk +++ b/depends/packages/zeromq.mk @@ -29,5 +29,6 @@ define $(package)_stage_cmds endef define $(package)_postprocess_cmds + sed -i.old "s/ -lstdc++//" lib/pkgconfig/libzmq.pc && \ rm -rf bin share endef