python-gyp: Fix no-xcode.patch for Darwin.
The last hunk of the patch doesn't apply anymore and causes a build failure on Darwin systems: https://hydra.nixos.org/build/6294943 Fixed the hunk manually. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
cb68dc8281
commit
ae47ba445c
1 changed files with 3 additions and 3 deletions
|
@ -56,11 +56,11 @@ index b2aab986a427d5285d70558bf97f0a42bfe1556e..20592c73fae660009aac621097cf3c4f
|
|||
l = '-l' + m.group(1)
|
||||
else:
|
||||
l = library
|
||||
- return l.replace('$(SDKROOT)', self._SdkPath())
|
||||
- return l.replace('$(SDKROOT)', self._SdkPath(config_name))
|
||||
+ if self._SdkPath():
|
||||
+ return l.replace('$(SDKROOT)', self._SdkPath())
|
||||
+ return l.replace('$(SDKROOT)', self._SdkPath(config_name))
|
||||
+ else:
|
||||
+ return l
|
||||
|
||||
def AdjustLibraries(self, libraries):
|
||||
def AdjustLibraries(self, libraries, config_name=None):
|
||||
"""Transforms entries like 'Cocoa.framework' in libraries into entries like
|
||||
|
|
Loading…
Reference in a new issue