formula: add std_configure_args
Most commonly used configure args libdir is set to lib to enforce the usage of the single lib folder on linux, instead of installing to lib64 on some systems.
This commit is contained in:
parent
3f6a930044
commit
986f65b973
@ -1392,6 +1392,11 @@ class Formula
|
||||
"#<Formula #{name} (#{active_spec_sym}) #{path}>"
|
||||
end
|
||||
|
||||
# Standard parameters for configure builds.
|
||||
def std_configure_args
|
||||
["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--libdir=#{lib}"]
|
||||
end
|
||||
|
||||
# Standard parameters for cargo builds.
|
||||
def std_cargo_args
|
||||
["--locked", "--root", prefix, "--path", "."]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user