Browse Source

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
0.16
Cory Fields 7 years ago
parent
commit
a6365c5c3d
  1. 1
      depends/packages/zeromq.mk

1
depends/packages/zeromq.mk

@ -29,5 +29,6 @@ define $(package)_stage_cmds
endef endef
define $(package)_postprocess_cmds define $(package)_postprocess_cmds
sed -i.old "s/ -lstdc++//" lib/pkgconfig/libzmq.pc && \
rm -rf bin share rm -rf bin share
endef endef

Loading…
Cancel
Save