diff --git a/common.gypi b/common.gypi index 4174e8c3628..10da7abccc4 100644 --- a/common.gypi +++ b/common.gypi @@ -325,7 +325,12 @@ }, 'target_conditions': [ ['_type!="static_library"', { - 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, + 'xcode_settings': { + 'OTHER_LDFLAGS': [ + '-Wl,-no_pie', + '-Wl,-search_paths_first', + ], + }, }], ], 'conditions': [