Skip to content

Commit a6365c5

Browse files
committed
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
1 parent 711d16c commit a6365c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

depends/packages/zeromq.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ define $(package)_stage_cmds
2929
endef
3030

3131
define $(package)_postprocess_cmds
32+
sed -i.old "s/ -lstdc++//" lib/pkgconfig/libzmq.pc && \
3233
rm -rf bin share
3334
endef

0 commit comments

Comments
 (0)