samtools: fixing build issue due to change in 1.14 (#28024)

This commit is contained in:
snehring
2021-12-15 23:34:22 -06:00
committed by GitHub
parent 42677ded8e
commit e99aff93e1

View File

@@ -70,6 +70,9 @@ def install(self, spec, prefix):
make('prefix={0}'.format(prefix), 'install')
# Install dev headers and libs for legacy apps depending on them
# per https://github.com/samtools/samtools/releases/tag/1.14
# these have been removed (bam.h still exists but paired down)
if spec.satisfies('@:1.13'):
mkdir(prefix.include)
mkdir(prefix.lib)
install('sam.h', prefix.include)