diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-02-13 12:55:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 12:55:37 +0100 |
commit | 4a04989bbb633b2c53deaead7a177be57aca11c5 (patch) | |
tree | 28fce0cee601e05c6dca4a644f27feaec02d18c7 | |
parent | 2c4b529896537ca4541fed1b1ea073504ad9af08 (diff) | |
download | spack-4a04989bbb633b2c53deaead7a177be57aca11c5.tar.gz spack-4a04989bbb633b2c53deaead7a177be57aca11c5.tar.bz2 spack-4a04989bbb633b2c53deaead7a177be57aca11c5.tar.xz spack-4a04989bbb633b2c53deaead7a177be57aca11c5.zip |
PythonExtension.add_files_to_view: link non-executable/non-shebang regular files (#42641)
-rw-r--r-- | lib/spack/spack/build_systems/python.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/spack/build_systems/python.py b/lib/spack/spack/build_systems/python.py index 824d634b3e..e3df3ab374 100644 --- a/lib/spack/spack/build_systems/python.py +++ b/lib/spack/spack/build_systems/python.py @@ -169,6 +169,8 @@ class PythonExtension(spack.package_base.PackageBase): fs.filter_file( python_prefix, os.path.abspath(view.get_projection_for_spec(self.spec)), dst ) + else: + view.link(src, dst) # Finally re-target the symlinks that point to copied files. for src, dst in delayed_links: |