python: Fix post-install script without C++ compiler (#14481)
This commit is contained in:
parent
5b1297378c
commit
8660b0b5b8
@ -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 New Issue
Block a user