From 92e8b52ceeb801fa044aa4e69b215b800ba5f4a6 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 14 Nov 2017 09:00:29 +0100 Subject: [PATCH] gyp: fix target --> self.target target is an undefined name in this context. https://github.com/nodejs/node-gyp/pull/1334 Reviewed-By: Refael Ackermann --- gyp/pylib/gyp/generator/make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gyp/pylib/gyp/generator/make.py b/gyp/pylib/gyp/generator/make.py index cfc7b05433..d549e899d8 100644 --- a/gyp/pylib/gyp/generator/make.py +++ b/gyp/pylib/gyp/generator/make.py @@ -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.