diff options
author | Greg Becker <becker33@llnl.gov> | 2020-05-13 14:31:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 14:31:33 -0700 |
commit | 7411fe2d4322bcd987b41842cafc5afd15b3a991 (patch) | |
tree | b6a1c486a3520cddc89422e80fa9f517335db8e1 /lib | |
parent | 37e307e8cde4009950b1feb8a53d33fb3b1fa571 (diff) | |
download | spack-7411fe2d4322bcd987b41842cafc5afd15b3a991.tar.gz spack-7411fe2d4322bcd987b41842cafc5afd15b3a991.tar.bz2 spack-7411fe2d4322bcd987b41842cafc5afd15b3a991.tar.xz spack-7411fe2d4322bcd987b41842cafc5afd15b3a991.zip |
cmake build system: filter system paths from rpaths (#16612)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py index 8d84cdaf65..3510ae8ac8 100644 --- a/lib/spack/spack/build_environment.py +++ b/lib/spack/spack/build_environment.py @@ -615,7 +615,7 @@ def get_rpaths(pkg): # module show output. if pkg.compiler.modules and len(pkg.compiler.modules) > 1: rpaths.append(get_path_from_module(pkg.compiler.modules[1])) - return rpaths + return list(dedupe(filter_system_paths(rpaths))) def get_std_cmake_args(pkg): |