Skip to content

Commit f7016bf

Browse files
committed
gaul: regenerate configure for linux build as well
Signed-off-by: Rui Chen <[email protected]>
1 parent 71a327f commit f7016bf

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Formula/g/gaul.rb

+6-7
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,12 @@ class Gaul < Formula
3030
end
3131

3232
def install
33-
# Run autoreconf on macOS to rebuild configure script so that it doesn't try
34-
# to build with a flat namespace.
35-
system "autoreconf", "--force", "--verbose", "--install" if OS.mac?
36-
system "./configure", "--disable-dependency-tracking",
37-
"--disable-debug",
38-
"--disable-g",
39-
"--prefix=#{prefix}"
33+
# Run autoreconf to regenerate the configure script and update outdated macros.
34+
# This ensures that the build system is properly configured on both macOS
35+
# (avoiding issues like flat namespace conflicts) and Linux (where outdated
36+
# config scripts may fail to detect the correct build type).
37+
system "autoreconf", "--force", "--verbose", "--install"
38+
system "./configure", *std_configure_args
4039
system "make", "install"
4140
end
4241
end

0 commit comments

Comments
 (0)