From a71664a42db1cbf533abccba841fbe31c6d4e2bb Mon Sep 17 00:00:00 2001
From: Levi Baber <baberlevi@gmail.com>
Date: Thu, 14 Mar 2019 05:07:50 -0500
Subject: [PATCH] py-pybigwig: needs curl at link time (#10892)

---
 var/spack/repos/builtin/packages/py-pybigwig/package.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/var/spack/repos/builtin/packages/py-pybigwig/package.py b/var/spack/repos/builtin/packages/py-pybigwig/package.py
index 31ad311890..c44fb88395 100644
--- a/var/spack/repos/builtin/packages/py-pybigwig/package.py
+++ b/var/spack/repos/builtin/packages/py-pybigwig/package.py
@@ -20,7 +20,7 @@ class PyPybigwig(PythonPackage):
 
     patch('python3_curl.patch', when='@:0.3.12 ^python@3:')
 
-    depends_on('curl', type=('build', 'run'))
+    depends_on('curl', type=('build', 'link', 'run'))
     depends_on('py-setuptools', type='build')
 
     depends_on('py-numpy', type=('build', 'run'), when='+numpy')
-- 
GitLab