Only add python flag for newer versions of glib (#7579)
This commit is contained in:
parent
04358f827f
commit
5b810579fa
1 changed files with 4 additions and 3 deletions
|
@ -81,6 +81,7 @@ def url_for_version(self, version):
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
args = []
|
args = []
|
||||||
args.extend(self.enable_or_disable('libmount'))
|
args.extend(self.enable_or_disable('libmount'))
|
||||||
|
if self.spec.satisfies('@2.53.4:'):
|
||||||
args.append('--with-python={0}'.format(
|
args.append('--with-python={0}'.format(
|
||||||
os.path.basename(self.spec['python'].command.path))
|
os.path.basename(self.spec['python'].command.path))
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue