diff options
author | Simon Warta <[email protected]> | 2015-07-01 20:50:18 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-07-01 20:50:18 +0200 |
commit | b1b941a90ef0ffda1da288a5165e1ae351ce46e1 (patch) | |
tree | f64b8073f0c6e2e34bca8dad20ad6d06003c3378 /configure.py | |
parent | 457134f3b89108df8863b1ce1793c653a7e5a125 (diff) |
Dont run install_name_tool when lib is statically linked
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py index 110ba9ed0..b04793877 100755 --- a/configure.py +++ b/configure.py @@ -1321,7 +1321,7 @@ def create_template_vars(build_config, options, modules, cc, arch, osinfo): 'with_sphinx': options.with_sphinx } - if options.os == 'darwin': + if options.os == 'darwin' and options.build_shared_lib: vars['app_post_link_cmd'] = 'install_name_tool -change "/$(SONAME)" "@executable_path/$(SONAME)" $(APP)' vars['test_post_link_cmd'] = 'install_name_tool -change "/$(SONAME)" "@executable_path/$(SONAME)" $(TEST)' else: |