Fix 1431958: Properly convert !addincludedir paths on POSIX platforms.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4520 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
24511de6f6
commit
7e0ba02822
1 changed files with 9 additions and 0 deletions
|
@ -2738,7 +2738,16 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
||||||
SCRIPT_MSG("!execute: \"%s\"\n",exec);
|
SCRIPT_MSG("!execute: \"%s\"\n",exec);
|
||||||
}
|
}
|
||||||
case TOK_P_ADDINCLUDEDIR:
|
case TOK_P_ADDINCLUDEDIR:
|
||||||
|
#ifdef _WIN32
|
||||||
include_dirs.add(line.gettoken_str(1),0);
|
include_dirs.add(line.gettoken_str(1),0);
|
||||||
|
#else
|
||||||
|
{
|
||||||
|
char *f = line.gettoken_str(1);
|
||||||
|
char *fc = my_convert(f);
|
||||||
|
include_dirs.add(fc,0);
|
||||||
|
my_convert_free(fc);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
return PS_OK;
|
return PS_OK;
|
||||||
case TOK_P_INCLUDE:
|
case TOK_P_INCLUDE:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue