Configure: Better detection of '-static' in @{$config{LDFLAGS}}
authorRichard Levitte <levitte@openssl.org>
Fri, 17 Jan 2020 11:47:44 +0000 (12:47 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 23 Jan 2020 17:01:50 +0000 (18:01 +0100)
commitcf0843c09101fa7a1718c4423543358b7fe1876a
tree91e129d199d7b3d6819a15d280e3db9b9a618cc9
parent8baa49aeac0d51504b8bcd0fd5c750c17af6fe62
Configure: Better detection of '-static' in @{$config{LDFLAGS}}

@{$config{LDFLAGS}} isn't necessarily split up in pieces, so we need
to check for '-static' with a regexp rather than with an exact string
match.

Fixes #10867

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10878)
Configure