fixed bug #1434215 - #define local leaks into path settings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4539 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
5812fa78d2
commit
aaef4e35eb
3 changed files with 7 additions and 6 deletions
|
@ -482,7 +482,7 @@ void CEXEBuild::initialize(const char *makensis_path)
|
|||
#ifndef NSIS_CONFIG_CONST_DATA_PATH
|
||||
nsis_dir = get_executable_dir(makensis_path);
|
||||
#else
|
||||
nsis_dir = CONST_STR(PREFIX_DATA);
|
||||
nsis_dir = PREFIX_DATA;
|
||||
#endif
|
||||
}
|
||||
definedlist.add("NSISDIR", nsis_dir.c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue