diff options
author | isaacs <i@izs.me> | 2019-10-08 02:25:32 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2019-10-08 02:25:33 +0300 |
commit | 62f2ca692ac0c0467ef4cf74f91777a5175258c4 (patch) | |
tree | caa8e03e71f7b7eae31cb87e9318b61ae4c91570 /node_modules/node-gyp/gyp | |
parent | 44a2b036b34324ec85943908264b2e36de5a9435 (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.py | 3 | ||||
-rw-r--r-- | node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py | 2 |
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: |