shims/super/cc: avoid passing -oso_prefix during configure

Fixes `configure` failures in Homebrew/homebrew-core#169893.
This commit is contained in:
Carlo Cabrera 2024-04-28 12:42:04 +08:00
parent 5e027bffd6
commit c3c61767c7
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -438,7 +438,7 @@ class Cmd
end
def oso_prefix?
config.include?("o")
config.include?("o") && !configure?
end
def calls_ld?