2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-23 17:55:04 +01:00

missing line for Issue 1164

This commit is contained in:
Thomas Nagy 2012-05-08 21:58:44 +02:00
parent 440fd37dfa
commit b188419d09
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ NEW IN WAF 1.7.0
* Updated the gccdeps tool #1162
* Improved the C# processing #1154, #1153
* Removed the empty flags from LIB/INCLUDE in the msvc configuration #1159
* New 'encoding' parameter to bld.subst()
NEW IN WAF 1.6.11
-----------------

View File

@ -692,6 +692,7 @@ class subst_pc(Task.Task):
tmp = getattr(self.generator, x, '') or self.env.get_flat(x) or self.env.get_flat(x.upper())
d[x] = str(tmp)
code = code % d
try:
code = code.encode(getattr(self.generator, 'encoding', 'ISO8859-1'))
except AttributeError: