Fix for POSIX regression due to sconf.h change.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4562 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
3c454a4e65
commit
9cc73c10ea
1 changed files with 2 additions and 2 deletions
|
@ -144,8 +144,8 @@ SConscript('SCons/config.py')
|
|||
|
||||
# add prefixes defines
|
||||
if defenv['PLATFORM'] != 'win32':
|
||||
defenv.Append(NSIS_CPPDEFINES = [('PREFIX_CONF', '"%s"' % defenv['PREFIX_CONF'])])
|
||||
defenv.Append(NSIS_CPPDEFINES = [('PREFIX_DATA', '"%s"' % defenv['PREFIX_DATA'])])
|
||||
defenv.Append(NSIS_CPPDEFINES = [('PREFIX_CONF', '"%s"' % defenv.subst('$PREFIX_CONF'))])
|
||||
defenv.Append(NSIS_CPPDEFINES = [('PREFIX_DATA', '"%s"' % defenv.subst('$PREFIX_DATA'))])
|
||||
|
||||
# write configuration into sconf.h
|
||||
f = open(File('#Source/exehead/sconf.h').abspath, 'w')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue