Mac: Add headerpad_max_install_names linker setting to all projects that rewrite framework links.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@659 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2012-05-31 15:27:46 +00:00
parent 38f216a9c2
commit 1b0784cca3
1 changed files with 9 additions and 0 deletions

View File

@ -263,6 +263,9 @@
], ],
'xcode_settings': { 'xcode_settings': {
'INFOPLIST_FILE': 'tests/unittests/mac/Info.plist', 'INFOPLIST_FILE': 'tests/unittests/mac/Info.plist',
# Necessary to avoid an "install_name_tool: changing install names or
# rpaths can't be redone" error.
'OTHER_LDFLAGS': ['-Wl,-headerpad_max_install_names'],
}, },
'include_dirs': [ 'include_dirs': [
'.', '.',
@ -988,6 +991,9 @@
], ],
'xcode_settings': { 'xcode_settings': {
'INFOPLIST_FILE': 'tests/cefclient/mac/helper-Info.plist', 'INFOPLIST_FILE': 'tests/cefclient/mac/helper-Info.plist',
# Necessary to avoid an "install_name_tool: changing install names or
# rpaths can't be redone" error.
'OTHER_LDFLAGS': ['-Wl,-headerpad_max_install_names'],
}, },
'postbuilds': [ 'postbuilds': [
{ {
@ -1073,6 +1079,9 @@
], ],
'xcode_settings': { 'xcode_settings': {
'INFOPLIST_FILE': 'tests/cefclient/mac/helper-Info.plist', 'INFOPLIST_FILE': 'tests/cefclient/mac/helper-Info.plist',
# Necessary to avoid an "install_name_tool: changing install names or
# rpaths can't be redone" error.
'OTHER_LDFLAGS': ['-Wl,-headerpad_max_install_names'],
}, },
'postbuilds': [ 'postbuilds': [
{ {