aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/install.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/install.py')
-rwxr-xr-xsrc/scripts/install.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/scripts/install.py b/src/scripts/install.py
index 3384534d6..0a9683ca0 100755
--- a/src/scripts/install.py
+++ b/src/scripts/install.py
@@ -176,14 +176,14 @@ def main(args = None):
copy_executable(os.path.join(out_dir, soname_patch),
os.path.join(lib_dir, soname_patch))
- prev_cwd = os.getcwd()
-
- try:
- os.chdir(lib_dir)
- force_symlink(soname_patch, soname_abi)
- force_symlink(soname_patch, soname_base)
- finally:
- os.chdir(prev_cwd)
+ if target_os != "openbsd":
+ prev_cwd = os.getcwd()
+ try:
+ os.chdir(lib_dir)
+ force_symlink(soname_patch, soname_abi)
+ force_symlink(soname_patch, soname_base)
+ finally:
+ os.chdir(prev_cwd)
copy_executable(os.path.join(out_dir, app_exe), os.path.join(bin_dir, app_exe))