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,9 +81,10 @@ 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'))
|
||||||
args.append('--with-python={0}'.format(
|
if self.spec.satisfies('@2.53.4:'):
|
||||||
os.path.basename(self.spec['python'].command.path))
|
args.append('--with-python={0}'.format(
|
||||||
)
|
os.path.basename(self.spec['python'].command.path))
|
||||||
|
)
|
||||||
args.extend(self.enable_or_disable('tracing'))
|
args.extend(self.enable_or_disable('tracing'))
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue