diff options
author | Richard Levitte <levitte@openssl.org> | 2019-02-02 09:47:16 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-02-11 16:27:02 +0100 |
commit | 61db9961417e74cbd4a285fe482f1f2b30c5536b (patch) | |
tree | 3b8a49734f0a8e351404bb086623deea49777a81 /Configurations | |
parent | ENGINE modules aren't special, so call them MODULES (diff) | |
download | openssl-61db9961417e74cbd4a285fe482f1f2b30c5536b.tar.xz openssl-61db9961417e74cbd4a285fe482f1f2b30c5536b.zip |
Build: correct BASE shlib_version_as_filename
This function is designed to use $config{shlib_version} directly
instead of taking an input argument, yet the BASE variant didn't do
this.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8146)
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/platform/BASE.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Configurations/platform/BASE.pm b/Configurations/platform/BASE.pm index b7fec110c2..fcd7b70ccf 100644 --- a/Configurations/platform/BASE.pm +++ b/Configurations/platform/BASE.pm @@ -28,8 +28,8 @@ sub sharedname { return __isshared($_[1]) ? $_[1] : undef } # Name of shared li sub staticname { return __base($_[1], '.a') } # Name of static lib # Convenience function to convert the shlib version to an acceptable part -# of a file or directory name. -sub shlib_version_as_filename { return $_[1] } +# of a file or directory name. By default, we consider it acceptable as is. +sub shlib_version_as_filename { return $config{shlib_version} } # Convenience functions to convert the possible extension of an input file name sub bin { return $_[0]->binname($_[1]) . $_[0]->binext() } |