diff options
author | Richard Levitte <levitte@openssl.org> | 2019-03-31 15:14:00 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-04-02 07:30:06 +0200 |
commit | 22b414672d0260904ef2f5f5304b02f96c67dd7e (patch) | |
tree | 4e90093b5b1bb1e1e68653dcfd245d7e90fbda2b /Configurations/common.tmpl | |
parent | 0b45d8eec051fd9816b6bf46a975fa461ffc983d (diff) |
Build cleanup: don't use SHARED_SOURCE with modules
SHARED_SOURCE is reserved for products that are expected to come in
dual shared / non-shared form, i.e. the routine libraries like
libcrypto and libssl, to distinguish source that should only appear in
their shared form.
Modules are always shared, so there's no need for them to have this
type of distinction.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8623)
Diffstat (limited to 'Configurations/common.tmpl')
-rw-r--r-- | Configurations/common.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Configurations/common.tmpl b/Configurations/common.tmpl index 5ca0d56277..62b1102c79 100644 --- a/Configurations/common.tmpl +++ b/Configurations/common.tmpl @@ -151,9 +151,9 @@ return "" if $cache{$lib}; $OUT .= obj2dso(lib => $lib, attrs => $unified_info{attributes}->{$lib}, - objs => $unified_info{shared_sources}->{$lib}, + objs => $unified_info{sources}->{$lib}, deps => [ resolvedepends($lib) ]); - foreach (@{$unified_info{shared_sources}->{$lib}}) { + foreach (@{$unified_info{sources}->{$lib}}) { # If this is somehow a compiled object, take care of it that way # Otherwise, it might simply be generated if (defined $unified_info{sources}->{$_}) { |