Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaddy Byers <paddy.byers@gmail.com>2011-11-16 03:52:23 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2011-11-18 02:49:55 +0400
commit4f8d6d0834ef7132aa9702f4c83033daf42f9d06 (patch)
tree55ba5697b9bde12fe2ea127693bad394154d35cd /tools
parent29d8ff51c85ddd491672ade6f4f3404f0f68e1a4 (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.py2
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.