mirror of https://gitlab.com/ita1024/waf.git
missing line for Issue 1164
This commit is contained in:
parent
440fd37dfa
commit
b188419d09
|
@ -18,6 +18,7 @@ NEW IN WAF 1.7.0
|
||||||
* Updated the gccdeps tool #1162
|
* Updated the gccdeps tool #1162
|
||||||
* Improved the C# processing #1154, #1153
|
* Improved the C# processing #1154, #1153
|
||||||
* Removed the empty flags from LIB/INCLUDE in the msvc configuration #1159
|
* Removed the empty flags from LIB/INCLUDE in the msvc configuration #1159
|
||||||
|
* New 'encoding' parameter to bld.subst()
|
||||||
|
|
||||||
NEW IN WAF 1.6.11
|
NEW IN WAF 1.6.11
|
||||||
-----------------
|
-----------------
|
||||||
|
|
|
@ -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())
|
tmp = getattr(self.generator, x, '') or self.env.get_flat(x) or self.env.get_flat(x.upper())
|
||||||
d[x] = str(tmp)
|
d[x] = str(tmp)
|
||||||
|
|
||||||
|
code = code % d
|
||||||
try:
|
try:
|
||||||
code = code.encode(getattr(self.generator, 'encoding', 'ISO8859-1'))
|
code = code.encode(getattr(self.generator, 'encoding', 'ISO8859-1'))
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
|
|
Loading…
Reference in New Issue