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
tags/v0.16.1
Cory Fields 2 years ago
parent
commit
a6365c5c3d
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      depends/packages/zeromq.mk

+ 1
- 0
depends/packages/zeromq.mk 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

Loading…
Cancel
Save