diff options
| author | Richard Levitte <levitte@openssl.org> | 2022-07-06 06:54:49 +0200 |
|---|---|---|
| committer | Richard Levitte <levitte@openssl.org> | 2022-07-08 08:28:06 +0200 |
| commit | 5cc9ab5cf51137daf6d2d57718f56316dcb62744 (patch) | |
| tree | 6ecdbb49cefdf917410bc32e26c4b485279ff6bb /Configurations | |
| parent | 081f3484593cdd3be2b7fdd8818c3f928ce729bc (diff) | |
| download | openssl-new-5cc9ab5cf51137daf6d2d57718f56316dcb62744.tar.gz | |
Windows: use the basename of the product (.dll) for definition files
This resolves the faulty LIBRARY value that contained the directory
of the product (.dll) in the build tree. This applies to engines and
other modules alike.
Fixes #18726
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/18732)
Diffstat (limited to 'Configurations')
| -rw-r--r-- | Configurations/windows-makefile.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index 47c10d79df..300b6f16ed 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -742,7 +742,7 @@ EOF rel2abs($config{builddir})); my $ord_ver = $args{intent} eq 'lib' ? ' --version $(VERSION_NUMBER)' : ''; my $ord_name = - $args{generator}->[1] || platform->dsoname($args{product}); + $args{generator}->[1] || basename(platform->dsoname($args{product})); return <<"EOF"; $target: $gen0 $deps $mkdef "\$(PERL)" "$mkdef"$ord_ver --type $args{intent} --ordinals $gen0 --name $ord_name --OS windows > $target |
