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:
ketsubouchi 2020-07-10 22:26:21 +09:00 committed by GitHub
parent 00d7e817c6
commit 7269a5bf51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,3 +25,6 @@ class PyPysam(PythonPackage):
depends_on('samtools') depends_on('samtools')
depends_on('htslib@:1.6', when='@:0.13') depends_on('htslib@:1.6', when='@:0.13')
def setup_build_environment(self, env):
env.set('LDFLAGS', self.spec['curl'].libs.search_flags)