Skip to content

Commit

Permalink
Configure: let platform->dsoext() default with platform->shlibextsimp…
Browse files Browse the repository at this point in the history
…le()

We still use '.so' as a last resort...

Fixes #8950

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from #8951)
  • Loading branch information
levitte committed May 20, 2019
1 parent e9f148c commit d3136af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Configurations/platform/Unix.pm
Expand Up @@ -13,7 +13,8 @@ require platform::BASE;
use configdata;

sub binext { $target{exe_extension} || '' }
sub dsoext { $target{dso_extension} || '.so' }
sub dsoext { $target{dso_extension} || platform->shlibextsimple()
|| '.so' }
# Because these are also used in scripts and not just Makefile, we must
# convert $(SHLIB_VERSION_NUMBER) to the actual number.
sub shlibext { (my $x = $target{shared_extension}
Expand Down

0 comments on commit d3136af

Please sign in to comment.