summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ffmpeg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gnutls/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-torch/package.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/ffmpeg/package.py b/var/spack/repos/builtin/packages/ffmpeg/package.py
index ada37e8035..75185fc566 100644
--- a/var/spack/repos/builtin/packages/ffmpeg/package.py
+++ b/var/spack/repos/builtin/packages/ffmpeg/package.py
@@ -111,7 +111,7 @@ class Ffmpeg(AutotoolsPackage):
@property
def headers(self):
headers = find_all_headers(self.prefix.include)
- headers.directories = self.prefix.include
+ headers.directories = [self.prefix.include]
return headers
def enable_or_disable_meta(self, variant, options):
diff --git a/var/spack/repos/builtin/packages/gnutls/package.py b/var/spack/repos/builtin/packages/gnutls/package.py
index e258cc5ad5..875a2c52bd 100644
--- a/var/spack/repos/builtin/packages/gnutls/package.py
+++ b/var/spack/repos/builtin/packages/gnutls/package.py
@@ -94,5 +94,5 @@ class Gnutls(AutotoolsPackage):
@property
def headers(self):
headers = find_all_headers(self.prefix.include)
- headers.directories = self.prefix.include
+ headers.directories = [self.prefix.include]
return headers
diff --git a/var/spack/repos/builtin/packages/py-torch/package.py b/var/spack/repos/builtin/packages/py-torch/package.py
index 71b71fe210..54056f177f 100644
--- a/var/spack/repos/builtin/packages/py-torch/package.py
+++ b/var/spack/repos/builtin/packages/py-torch/package.py
@@ -208,7 +208,7 @@ class PyTorch(PythonPackage, CudaPackage):
self.prefix, self.spec['python'].package.site_packages_dir,
'torch', 'include')
headers = find_all_headers(root)
- headers.directories = root
+ headers.directories = [root]
return headers
def setup_build_environment(self, env):