mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 09:57:15 +01:00
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
|
||||
* 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
|
||||
-----------------
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user