Skip to content

Commit

Permalink
gyp: fix target --> self.target
Browse files Browse the repository at this point in the history
target is an undefined name in this context.

#1334
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
cclauss authored and rvagg committed Apr 24, 2019
1 parent febdfa2 commit 92e8b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gyp/pylib/gyp/generator/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@ def WriteTarget(self, spec, configs, deps, link_deps, bundle_deps,
self.WriteDoCmd([self.output_binary], deps, 'touch', part_of_all,
postbuilds=postbuilds)
else:
print("WARNING: no output for", self.type, target)
print("WARNING: no output for", self.type, self.target)

# Add an alias for each target (if there are any outputs).
# Installable target aliases are created below.
Expand Down

0 comments on commit 92e8b52

Please sign in to comment.