Tell configure about gmp (#5585)
This is a partial fix for #5564. This package used to trust that `configure` would discover `gmp` from its environment. It's safer to tell it where to find `gmp` explicitly. This does that by adding a configure_args() that provides a `--with-gmp=...` argument for configure.
This commit is contained in:
parent
d22ee8f993
commit
5bc81c8db2
1 changed files with 6 additions and 0 deletions
|
@ -42,3 +42,9 @@ class Mpfr(AutotoolsPackage):
|
|||
|
||||
patch('vasprintf.patch', when='@3.1.5')
|
||||
patch('strtofr.patch', when='@3.1.5')
|
||||
|
||||
def configure_args(self):
|
||||
args = [
|
||||
'--with-gmp=' + self.spec['gmp'].prefix,
|
||||
]
|
||||
return args
|
||||
|
|
Loading…
Reference in a new issue