mirror of
https://github.com/electron/node-gyp.git
synced 2025-08-15 12:58:19 +02:00
gyp: fix undefined name: cflags --> ldflags
The current code would raise NameError at runtime. PR-URL: https://github.com/nodejs/node-gyp/pull/1901 Reviewed-By: Rod Vagg <rod@vagg.org>
This commit is contained in:
parent
2441932dc4
commit
a84b885756
1 changed files with 1 additions and 1 deletions
|
@ -846,7 +846,7 @@ class XcodeSettings(object):
|
||||||
if self._IsXCTest():
|
if self._IsXCTest():
|
||||||
platform_root = self._XcodePlatformPath(configname)
|
platform_root = self._XcodePlatformPath(configname)
|
||||||
if platform_root:
|
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()
|
is_extension = self._IsIosAppExtension() or self._IsIosWatchKitExtension()
|
||||||
if sdk_root and is_extension:
|
if sdk_root and is_extension:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue