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 refack committed Oct 14, 2018
1 parent ae0be87 commit 2394a1e
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 2394a1e

Please sign in to comment.