Browse Source

waifulib: strip_on_install: fix typo

half-secret
Alibek Omarov 5 years ago
parent
commit
a4548074ec
  1. 2
      scripts/waifulib/strip_on_install.py

2
scripts/waifulib/strip_on_install.py

@ -26,7 +26,7 @@ def copy_fun(self, src, tgt):
if self.generator.bld.options.no_strip: if self.generator.bld.options.no_strip:
return return
if conf.env.DEST_BINFMT not in ['elf', 'mac-o']: # don't strip unknown formats or PE if self.env.DEST_BINFMT not in ['elf', 'mac-o']: # don't strip unknown formats or PE
return return
if getattr(self.generator, 'link_task', None) and self.generator.link_task.outputs[0] in self.inputs: if getattr(self.generator, 'link_task', None) and self.generator.link_task.outputs[0] in self.inputs:

Loading…
Cancel
Save