Browse Source

build: fix gyp xcode project generator

Only attempt to generate FrameworkPhase output for code targets.
v0.7.4-release
Paddy Byers 13 years ago
committed by Ben Noordhuis
parent
commit
4f8d6d0834
  1. 2
      tools/gyp/pylib/gyp/generator/xcode.py

2
tools/gyp/pylib/gyp/generator/xcode.py

@ -1161,7 +1161,7 @@ exit 1
if support_xct: if support_xct:
support_xct.AddDependency(xcode_targets[dependency]) support_xct.AddDependency(xcode_targets[dependency])
if 'libraries' in spec: if spec['type'] != 'none' and 'libraries' in spec:
for library in spec['libraries']: for library in spec['libraries']:
xct.FrameworksPhase().AddFile(library) xct.FrameworksPhase().AddFile(library)
# Add the library's directory to LIBRARY_SEARCH_PATHS if necessary. # Add the library's directory to LIBRARY_SEARCH_PATHS if necessary.

Loading…
Cancel
Save