diff options
author | Richard Levitte <levitte@openssl.org> | 2019-10-03 23:42:46 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-10-10 14:12:15 +0200 |
commit | bdea50ca802f7645774a359960e3b6ee9c352921 (patch) | |
tree | 6663669fbf019109e535064402b6e77bdf6f01fe /NOTES.ANDROID | |
parent | Configure: Implement attributes for DEPEND[xxx] (diff) | |
download | openssl-bdea50ca802f7645774a359960e3b6ee9c352921.tar.xz openssl-bdea50ca802f7645774a359960e3b6ee9c352921.zip |
Configurations/common.tmpl: Rework dependency resolution
The dependency resolution is made uniquely to resolve proper library
order when linking a program, a module or a shared library.
resolvedepends() did a little too much at once, so it's now reduced to
only collect dependencies (and is renamed to collectdepends()), while
a new function, expanddepends(), expands a list of dependency to
insure that dependent libraries are present after depending libraries,
and finally there is reducedepends() which removes unnecessary
duplicates, leaving only the last one.
resolvedepends() is now a simple utility routine that calls the three
mentioned above in correct order.
As part of this, we implement weak dependencies through the 'weak'
build.info attribute. This is meant to cause a specific order between
libraries without requiring that they are all present.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10088)
Diffstat (limited to 'NOTES.ANDROID')
0 files changed, 0 insertions, 0 deletions