diff options
Diffstat (limited to 'src/scripts/install.py')
-rwxr-xr-x | src/scripts/install.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/scripts/install.py b/src/scripts/install.py index ed6fe897f..32a7a7e9e 100755 --- a/src/scripts/install.py +++ b/src/scripts/install.py @@ -15,7 +15,6 @@ import optparse # pylint: disable=deprecated-module import os import shutil import sys -import subprocess import traceback def parse_command_line(args): @@ -212,20 +211,6 @@ def main(args): if build_cli: copy_executable(cfg['cli_exe'], prepend_destdir(os.path.join(bin_dir, cfg['cli_exe_name']))) - # On MacOS, if we are using shared libraries and we install, we should fix - # up the library name, otherwise the botan command won't work; ironically - # we only need to do this because we previously changed it from a setting - # that would be correct for installation to one that lets us run it from - # the build directory - if target_os == 'macos' and build_shared_lib and build_cli: - soname_abi = cfg['soname_abi'] - - subprocess.check_call(['install_name_tool', - '-change', - os.path.join('@executable_path', soname_abi), - os.path.join(lib_dir, soname_abi), - os.path.join(bin_dir, cfg['cli_exe_name'])]) - if 'botan_pkgconfig' in cfg: pkgconfig_dir = os.path.join(options.prefix, options.libdir, options.pkgconfigdir) makedirs(prepend_destdir(pkgconfig_dir)) |