diff options
author | Paddy Byers <paddy.byers@gmail.com> | 2011-11-16 03:52:23 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-11-18 02:49:55 +0400 |
commit | 4f8d6d0834ef7132aa9702f4c83033daf42f9d06 (patch) | |
tree | 55ba5697b9bde12fe2ea127693bad394154d35cd /tools | |
parent | 29d8ff51c85ddd491672ade6f4f3404f0f68e1a4 (diff) |
build: fix gyp xcode project generator
Only attempt to generate FrameworkPhase output for code targets.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gyp/pylib/gyp/generator/xcode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gyp/pylib/gyp/generator/xcode.py b/tools/gyp/pylib/gyp/generator/xcode.py index 066bb9f02f8..f905efdd896 100644 --- a/tools/gyp/pylib/gyp/generator/xcode.py +++ b/tools/gyp/pylib/gyp/generator/xcode.py @@ -1161,7 +1161,7 @@ exit 1 if support_xct: support_xct.AddDependency(xcode_targets[dependency]) - if 'libraries' in spec: + if spec['type'] != 'none' and 'libraries' in spec: for library in spec['libraries']: xct.FrameworksPhase().AddFile(library) # Add the library's directory to LIBRARY_SEARCH_PATHS if necessary. |