diff options
author | Simon Warta <[email protected]> | 2015-07-01 20:51:01 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-07-01 20:51:01 +0200 |
commit | cb3d7db72be550df3cce223a08e74c79eab24205 (patch) | |
tree | f64b8073f0c6e2e34bca8dad20ad6d06003c3378 | |
parent | 457134f3b89108df8863b1ce1793c653a7e5a125 (diff) | |
parent | b1b941a90ef0ffda1da288a5165e1ae351ce46e1 (diff) |
Merge pull request #162 from webmaster128/dont-run-nametool-in-static-mode
Dont run install_name_tool when lib is statically linked
-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: |