Merge pull request #15 from osimola/custom_object

Detect object files generated by custom targets and add them to the link.
pull/18/head
jpakkane 10 years ago
commit 38806249b7
  1. 2
      ninjabackend.py

@ -206,6 +206,8 @@ class NinjaBackend(backends.Backend):
else:
obj_list.append(self.generate_single_compile(target, outfile, RawFilename(src), True,
header_deps))
elif self.environment.is_object(src):
obj_list.append(src)
else:
# Assume anything not specifically a source file is a header. This is because
# people generate files with weird suffixes (.inc, .fh) that they then include

Loading…
Cancel
Save