yoda: only depend on root if explicitly desired (#25087)

This commit is contained in:
Thomas Madlener
2021-07-26 13:50:00 +02:00
committed by GitHub
parent cef3a2a6ee
commit 4a19741a36

View File

@@ -88,9 +88,8 @@ class Yoda(AutotoolsPackage):
def configure_args(self):
args = []
if self.spec.satisfies('@:1.6.0'):
args += '--with-boost=' + self.spec['boost'].prefix
args.append('--with-boost=' + self.spec['boost'].prefix)
if '+root' in self.spec:
args += '--enable-root'
args.extend(self.enable_or_disable('root'))
return args