diff --git a/var/spack/repos/builtin/packages/py-pybigwig/package.py b/var/spack/repos/builtin/packages/py-pybigwig/package.py
index 31ad31189009353ba7e497e14494257f7522a083..c44fb8839565a7fc1f2a28e2b93f1cd27178f37a 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')