ecl: avoid -flat_namespace usage

Closes #94594.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Caleb Xu 2022-02-06 08:23:54 -05:00 committed by BrewTestBot
parent 3ea5f574e9
commit b5de464073
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@ class Ecl < Formula
def install def install
ENV.deparallelize ENV.deparallelize
# Avoid -flat_namespace usage on macOS
inreplace "src/configure", "-flat_namespace -undefined suppress ", "" if OS.mac?
system "./configure", "--prefix=#{prefix}", system "./configure", "--prefix=#{prefix}",
"--enable-threads=yes", "--enable-threads=yes",
"--enable-boehm=system", "--enable-boehm=system",