py-pysam: add LDFLAGS to curl (#17434)
* py-pysam: add LDFLAGS to curl * Update var/spack/repos/builtin/packages/py-pysam/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
00d7e817c6
commit
7269a5bf51
1 changed files with 3 additions and 0 deletions
|
@ -25,3 +25,6 @@ class PyPysam(PythonPackage):
|
|||
depends_on('samtools')
|
||||
|
||||
depends_on('htslib@:1.6', when='@:0.13')
|
||||
|
||||
def setup_build_environment(self, env):
|
||||
env.set('LDFLAGS', self.spec['curl'].libs.search_flags)
|
||||
|
|
Loading…
Reference in a new issue