samtools: fixing build issue due to change in 1.14 (#28024)
This commit is contained in:
parent
42677ded8e
commit
e99aff93e1
1 changed files with 8 additions and 5 deletions
|
@ -70,8 +70,11 @@ def install(self, spec, prefix):
|
|||
make('prefix={0}'.format(prefix), 'install')
|
||||
|
||||
# Install dev headers and libs for legacy apps depending on them
|
||||
mkdir(prefix.include)
|
||||
mkdir(prefix.lib)
|
||||
install('sam.h', prefix.include)
|
||||
install('bam.h', prefix.include)
|
||||
install('libbam.a', prefix.lib)
|
||||
# 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)
|
||||
install('bam.h', prefix.include)
|
||||
install('libbam.a', prefix.lib)
|
||||
|
|
Loading…
Reference in a new issue