python: Fix post-install script without C++ compiler (#14481)
This commit is contained in:
parent
5b1297378c
commit
8660b0b5b8
1 changed files with 2 additions and 1 deletions
|
@ -396,6 +396,7 @@ def filter_compilers(self):
|
|||
]
|
||||
|
||||
filter_file(spack_cc, self.compiler.cc, *filenames, **kwargs)
|
||||
if spack_cxx and self.compiler.cxx:
|
||||
filter_file(spack_cxx, self.compiler.cxx, *filenames, **kwargs)
|
||||
|
||||
@run_after('install')
|
||||
|
|
Loading…
Reference in a new issue