build: fix gyp xcode project generator

Only attempt to generate FrameworkPhase output for code targets.
pull/22966/head
Paddy Byers 2011-11-15 23:52:23 +00:00 committed by Ben Noordhuis
parent 29d8ff51c8
commit 4f8d6d0834
1 changed files with 1 additions and 1 deletions

View File

@ -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.