| Index: pylib/gyp/xcode_emulation.py
|
| diff --git a/pylib/gyp/xcode_emulation.py b/pylib/gyp/xcode_emulation.py
|
| index f5a35e437853261755662db7d97f10cecc9cf593..30195eaac7471ea2efd0969a9aae8772e475db78 100644
|
| --- a/pylib/gyp/xcode_emulation.py
|
| +++ b/pylib/gyp/xcode_emulation.py
|
| @@ -858,13 +858,13 @@ class XcodeSettings(object):
|
| # extensions and provide loader and main function.
|
| # These flags reflect the compilation options used by xcode to compile
|
| # extensions.
|
| - ldflags.append('-lpkstart')
|
| if XcodeVersion() < '0900':
|
| + ldflags.append('-lpkstart')
|
| ldflags.append(sdk_root +
|
| '/System/Library/PrivateFrameworks/PlugInKit.framework/PlugInKit')
|
| + else:
|
| + ldflags.append('-e _NSExtensionMain')
|
| ldflags.append('-fapplication-extension')
|
| - ldflags.append('-Xlinker -rpath '
|
| - '-Xlinker @executable_path/../../Frameworks')
|
|
|
| self._Appendf(ldflags, 'CLANG_CXX_LIBRARY', '-stdlib=%s')
|
|
|
|
|