aboutsummaryrefslogtreecommitdiff
path: root/depends/packages
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2017-12-21 17:27:57 -0500
committerCory Fields <cory-nospam-@coryfields.com>2017-12-21 18:01:08 -0500
commita6365c5c3d277af355c51d7aee969f261dc5a751 (patch)
tree91f888c470b9518d3260da2b491060ad323a6a9d /depends/packages
parent711d16ca4a916d4e30f17e2babb46fc1b0be4732 (diff)
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
Diffstat (limited to 'depends/packages')
-rw-r--r--depends/packages/zeromq.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/depends/packages/zeromq.mk b/depends/packages/zeromq.mk
index 74bf4e9e11..3f97221e10 100644
--- a/depends/packages/zeromq.mk
+++ b/depends/packages/zeromq.mk
@@ -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