mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
fix: util/mkinstallvars.pl mistreated LDLIBS on Unix (and Windows)
Don't do comma separation on those platforms. Fixes #24986 Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> (Merged from https://github.com/openssl/openssl/pull/25018)
This commit is contained in:
parent
ed7a8bfd74
commit
0beef0ba00
@ -124,7 +124,9 @@ print <<_____;
|
||||
our \$VERSION = '$ENV{VERSION}';
|
||||
our \@LDLIBS =
|
||||
# Unix and Windows use space separation, VMS uses comma separation
|
||||
split(/ +| *, */, '$ENV{LDLIBS}');
|
||||
\$^O eq 'VMS'
|
||||
? split(/ *, */, '$ENV{LDLIBS}')
|
||||
: split(/ +/, '$ENV{LDLIBS}');
|
||||
|
||||
1;
|
||||
_____
|
||||
|
Loading…
Reference in New Issue
Block a user