From 607e77b2d0372188c6de87993f4fb54dbdb85a99 Mon Sep 17 00:00:00 2001 From: topilski Date: Sat, 3 Jun 2017 08:25:48 +0300 Subject: [PATCH] ldconfig after make install --- base/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/utils.py b/base/utils.py index 3e712f1..05dd8ec 100644 --- a/base/utils.py +++ b/base/utils.py @@ -112,6 +112,8 @@ 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'): + subprocess.call(['ldconfig']) def build_from_sources(url, compiler_flags: CompileInfo, source_dir_path, prefix_path, executable='./configure'):