Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
build: fix gyp xcode project generator
Browse files Browse the repository at this point in the history
Only attempt to generate FrameworkPhase output for code targets.
  • Loading branch information
paddybyers authored and bnoordhuis committed Nov 17, 2011
1 parent 29d8ff5 commit 4f8d6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gyp/pylib/gyp/generator/xcode.py
Expand Up @@ -1161,7 +1161,7 @@ def GenerateOutput(target_list, target_dicts, data, params):
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.
Expand Down

0 comments on commit 4f8d6d0

Please sign in to comment.