mirror of
https://github.com/fastogt/pyfastogt
synced 2025-03-09 23:38:55 +00:00
Check if which exist
This commit is contained in:
parent
3e62085b06
commit
06ac2ff352
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ def build_command_configure(compiler_flags: CompileInfo, source_dir_path, prefix
|
|||
subprocess.call(compile_cmd)
|
||||
subprocess.call(['make', '-j2'])
|
||||
subprocess.call(['make', 'install'])
|
||||
if shutil.which('ldconfig'):
|
||||
if hasattr(shutil, 'which') and shutil.which('ldconfig'):
|
||||
subprocess.call(['ldconfig'])
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue