diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_systems/python.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/spack/spack/build_systems/python.py b/lib/spack/spack/build_systems/python.py index ec86c45633..e4f5b7619d 100644 --- a/lib/spack/spack/build_systems/python.py +++ b/lib/spack/spack/build_systems/python.py @@ -376,8 +376,7 @@ class PythonPackage(PythonExtension): platlib = self.prefix.join(self.spec["python"].package.platlib).join(name) purelib = self.prefix.join(self.spec["python"].package.purelib).join(name) - find_all_headers = functools.partial(fs.find_all_headers, recursive=True) - headers_list = map(find_all_headers, [include, platlib, purelib]) + headers_list = map(fs.find_all_headers, [include, platlib, purelib]) headers = functools.reduce(operator.add, headers_list) if headers: |