Skip to content

Commit

Permalink
Undefined name: cflags --> ldflags
Browse files Browse the repository at this point in the history
@rvagg This would be good to land before #1892

The current code would raise NameError at runtime.
  • Loading branch information
cclauss authored Oct 1, 2019
1 parent 2441932 commit 1fe2902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gyp/pylib/gyp/xcode_emulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ def GetLdflags(self, configname, product_dir, gyp_to_build_path, arch=None):
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:
Expand Down

0 comments on commit 1fe2902

Please sign in to comment.