aboutsummaryrefslogtreecommitdiff
path: root/openssl/src
diff options
context:
space:
mode:
authorAlex Crichton <[email protected]>2015-09-01 11:12:22 -0700
committerAlex Crichton <[email protected]>2015-09-01 11:24:32 -0700
commitbf16c19f315c83fe4b329730f03e568cbf4c47f9 (patch)
tree0ded372579f889b06f29bebc15f3ee8b98910f6e /openssl/src
parentMerge pull request #259 from jedisct1/dh (diff)
downloadrust-openssl-bf16c19f315c83fe4b329730f03e568cbf4c47f9.tar.xz
rust-openssl-bf16c19f315c83fe4b329730f03e568cbf4c47f9.zip
Swap order of linking ssl/crypto
GNU linkers will sometimes aggressively try to strip objects and archives from a linker command line in a left-to-right fashion. When a linker hits an object file that doesn't satisfy any unresolved symbols, it will discard the object and not re-visit it. This means that currently if symbols are depended upon in libssl then some of the dependencies of libssl (in libcrypto) may have already been stripped, causing a link error. By swapping the order of what's linked it reflects the natural flow of dependencies and the linker should figure everything out for us.
Diffstat (limited to 'openssl/src')
0 files changed, 0 insertions, 0 deletions