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
This commit is contained in:
Cory Fields 2017-12-21 17:27:57 -05:00
parent 711d16ca4a
commit a6365c5c3d
1 changed files with 1 additions and 0 deletions

View File

@ -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