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

1
depends/packages/zeromq.mk

@ -29,5 +29,6 @@ define $(package)_stage_cmds @@ -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

Loading…
Cancel
Save