Use filter_file
instead of calling perl
This commit is contained in:
parent
a58dd8f6ab
commit
be12720eb7
@ -26,7 +26,7 @@ def install(self, spec, prefix):
|
||||
"no-krb5",
|
||||
"shared",
|
||||
"darwin64-x86_64-cc")
|
||||
perl('-pi', '-e', 's/-arch x86_64//g', 'Makefile')
|
||||
filter_file(r'-arch x86_64', '', 'Makefile')
|
||||
else:
|
||||
config = Executable("./config")
|
||||
config("--prefix=%s" % prefix,
|
||||
|
Loading…
Reference in New Issue
Block a user