Skip to content

Commit

Permalink
depends: fix libzmq's needless linking against libstdc++
Browse files Browse the repository at this point in the history
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
  • Loading branch information
theuni committed Dec 21, 2017
1 parent 711d16c commit a6365c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions depends/packages/zeromq.mk
Expand Up @@ -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

0 comments on commit a6365c5

Please sign in to comment.