File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ function _show_target(target)
227
227
cprint (" ${color.dump.reference}->${clear} %s" , os .args (compinst :compflags ()))
228
228
end
229
229
end
230
- local linker = target :linker ()
230
+ local linker = targetfile and target :linker ()
231
231
if linker then
232
232
cprint (" ${color.dump.string}linker (%s)${clear}: %s" , linker :kind (), linker :program ())
233
233
cprint (" ${color.dump.reference}->${clear} %s" , os .args (linker :linkflags ()))
@@ -239,7 +239,6 @@ function _show_target(target)
239
239
cprint (" ${color.dump.reference}->${clear} %s" , os .args (compinst :compflags ({target = target })))
240
240
end
241
241
end
242
- local linker = target :linker ()
243
242
if linker then
244
243
cprint (" ${color.dump.string}linkflags (%s)${clear}:" , linker :kind ())
245
244
cprint (" ${color.dump.reference}->${clear} %s" , os .args (linker :linkflags ({target = target })))
You can’t perform that action at this time.
0 commit comments