Merge #11981: Fix gitian build after libzmq bump
commit180a25596a29a553164266b882290fde6185cc0d
authorWladimir J. van der Laan <laanwj@gmail.com>
Fri, 22 Dec 2017 08:22:51 +0000 (22 09:22 +0100)
committerWladimir J. van der Laan <laanwj@gmail.com>
Fri, 22 Dec 2017 08:23:20 +0000 (22 09:23 +0100)
tree91f888c470b9518d3260da2b491060ad323a6a9d
parent711d16ca4a916d4e30f17e2babb46fc1b0be4732
parenta6365c5c3d277af355c51d7aee969f261dc5a751
Merge #11981: Fix gitian build after libzmq bump

a6365c5 depends: fix libzmq's needless linking against libstdc++ (Cory Fields)

Pull request description:

  Broken gitian builds were introduced with #9254. Big thanks to @jonasschnelli for narrowing down the bisection.

  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

Tree-SHA512: d84968ee680f32ea799034ee516e9477fff2b1ef1b7c9a8ef1941631520ab196ecd50f5d64f3ed1c84113ead44be5e3ddf6ff2ae0277625bdeed05f1da89e017