bcftools: do not use bundled htslib (#10445)

* if the path to htslib is not specified the bundled one is built instead
* additionally this fixes the build with the intel compiler
This commit is contained in:
Ricardo Silva 2019-01-26 16:21:04 +01:00 committed by Axel Huebl
parent e867319ac3
commit 3fc8203b93

View File

@ -32,3 +32,9 @@ class Bcftools(AutotoolsPackage):
depends_on('htslib@1.4', when='@1.4') depends_on('htslib@1.4', when='@1.4')
depends_on('htslib@1.3.1', when='@1.3.1') depends_on('htslib@1.3.1', when='@1.3.1')
depends_on('htslib@1.2', when='@1.2') depends_on('htslib@1.2', when='@1.2')
def configure_args(self):
args = []
args.append('--with-htslib={0}'.format(self.spec['htslib'].prefix))
return args