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

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2019-10-08 02:25:32 +0300
committerisaacs <i@izs.me>2019-10-08 02:25:33 +0300
commit62f2ca692ac0c0467ef4cf74f91777a5175258c4 (patch)
treecaa8e03e71f7b7eae31cb87e9318b61ae4c91570 /node_modules/node-gyp/gyp
parent44a2b036b34324ec85943908264b2e36de5a9435 (diff)
node-gyp@5.0.5
Diffstat (limited to 'node_modules/node-gyp/gyp')
-rw-r--r--node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py3
-rw-r--r--node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py b/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py
index 9b64e2c1c..76c4b95c0 100644
--- a/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py
+++ b/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py
@@ -59,6 +59,9 @@ class MSVSSolutionEntry(object):
# Sort by name then guid (so things are in order on vs2008).
return cmp((self.name, self.get_guid()), (other.name, other.get_guid()))
+ def __lt__(self, other):
+ return self.__cmp__(other) < 0
+
class MSVSFolder(MSVSSolutionEntry):
"""Folder in a Visual Studio project or solution."""
diff --git a/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py b/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
index 70f41e6bb..74735c033 100644
--- a/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
+++ b/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
@@ -846,7 +846,7 @@ class XcodeSettings(object):
if self._IsXCTest():
platform_root = self._XcodePlatformPath(configname)
if platform_root:
- cflags.append('-F' + platform_root + '/Developer/Library/Frameworks/') # noqa TODO @cclauss
+ ldflags.append('-F' + platform_root + '/Developer/Library/Frameworks/')
is_extension = self._IsIosAppExtension() or self._IsIosWatchKitExtension()
if sdk_root and is_extension: