diff --git a/waftools/generators/sources.py b/waftools/generators/sources.py index 5d3349c442..ef26a514db 100644 --- a/waftools/generators/sources.py +++ b/waftools/generators/sources.py @@ -31,7 +31,7 @@ def f2s(self): def fn(out): source = getattr(self, 'source', None) src = self.path.find_resource(source) - file2string(source, iter(src.read().splitlines()), out) + file2string(source, iter(src.read().splitlines(True)), out) execf(self, fn) @TaskGen.feature('ebml_header')