diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi index 0da4cd3..0622dd4 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -89,6 +89,7 @@ 'conditions': [ ['OS=="mac"', { 'target_defaults': { + 'mac_bundle': 0, 'xcode_settings': { 'ALWAYS_SEARCH_USER_PATHS': 'NO', 'GCC_C_LANGUAGE_STANDARD': 'c99', @@ -117,10 +118,10 @@ ['_type!="static_library"', { 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, }], - ['_type=="application"', { + ['_type=="executable" and _mac_bundle', { 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, }], - ['_type=="application" or _type=="executable"', { + ['_type=="executable"', { 'postbuilds': [ { 'variables': { |