tdefenv must be defined after defenv is ready
this caused tdefenv (and therefore util_env) not to contain the right pointers to libcp.lib git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6282 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
3076227025
commit
6d71b946e3
1 changed files with 4 additions and 5 deletions
|
@ -52,11 +52,6 @@ if defenv['DEBUG']:
|
|||
defenv.Append(CCFLAGS = ['/Fd${TARGET.dir}\\${TARGET.dir.file}.pdb'])
|
||||
defenv.Append(LINKFLAGS = ['/debug'])
|
||||
|
||||
### unicode
|
||||
tdefenv = defenv.Clone()
|
||||
if tdefenv['UNICODE']:
|
||||
tdefenv.Append(CPPDEFINES = ['_UNICODE', 'UNICODE'])
|
||||
|
||||
### workarounds
|
||||
|
||||
# Some Platform SDK version includes a bad version of libcp.lib.
|
||||
|
@ -102,6 +97,10 @@ if float(defenv['MSVS_VERSION'].replace('Exp','')) < 8.0:
|
|||
|
||||
conf.Finish()
|
||||
|
||||
### unicode
|
||||
tdefenv = defenv.Clone()
|
||||
if tdefenv['UNICODE']:
|
||||
tdefenv.Append(CPPDEFINES = ['_UNICODE', 'UNICODE'])
|
||||
|
||||
### stub environment
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue