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,7 +396,8 @@ def filter_compilers(self):
|
|||
]
|
||||
|
||||
filter_file(spack_cc, self.compiler.cc, *filenames, **kwargs)
|
||||
filter_file(spack_cxx, self.compiler.cxx, *filenames, **kwargs)
|
||||
if spack_cxx and self.compiler.cxx:
|
||||
filter_file(spack_cxx, self.compiler.cxx, *filenames, **kwargs)
|
||||
|
||||
@run_after('install')
|
||||
def symlink(self):
|
||||
|
|
Loading…
Reference in a new issue