diff options
author | Richard Levitte <levitte@openssl.org> | 2024-07-28 10:47:08 +0200 |
---|---|---|
committer | Neil Horman <nhorman@openssl.org> | 2024-08-03 15:09:02 +0200 |
commit | 0beef0ba00f7864b7367899d859509a99237fcf0 (patch) | |
tree | 96b87e2c648e342962d844c69383fcb3a040542f /util | |
parent | ssl_evp_cipher_fetch(): Avoid using 3DES from the FIPS provider (diff) | |
download | openssl-0beef0ba00f7864b7367899d859509a99237fcf0.tar.xz openssl-0beef0ba00f7864b7367899d859509a99237fcf0.zip |
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)
Diffstat (limited to 'util')
-rw-r--r-- | util/mkinstallvars.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/mkinstallvars.pl b/util/mkinstallvars.pl index 5fadb708e1..e2b7d9d083 100644 --- a/util/mkinstallvars.pl +++ b/util/mkinstallvars.pl @@ -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; _____ |