From: Richard Levitte Date: Sun, 28 Jul 2024 08:47:08 +0000 (+0200) Subject: fix: util/mkinstallvars.pl mistreated LDLIBS on Unix (and Windows) X-Git-Tag: openssl-3.3.2~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=293650d33069276446b286ad856cfb9854ea83e4;p=thirdparty%2Fopenssl.git fix: util/mkinstallvars.pl mistreated LDLIBS on Unix (and Windows) Don't do comma separation on those platforms. Fixes #24986 Reviewed-by: Neil Horman Reviewed-by: Matt Caswell Reviewed-by: Tom Cosgrove (Merged from https://github.com/openssl/openssl/pull/25018) (cherry picked from commit 0beef0ba00f7864b7367899d859509a99237fcf0) --- diff --git a/util/mkinstallvars.pl b/util/mkinstallvars.pl index 5fadb708e1b..e2b7d9d0832 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; _____