Now processes plug-in DLLs only if a script is compiled
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@903 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c1390a83c0
commit
490104b9cc
1 changed files with 8 additions and 5 deletions
|
@ -75,6 +75,7 @@ int main(int argc, char **argv)
|
||||||
int nousage=0;
|
int nousage=0;
|
||||||
int files_processed=0;
|
int files_processed=0;
|
||||||
int cmds_processed=0;
|
int cmds_processed=0;
|
||||||
|
int plugins_processed=0;
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
int tmpargpos=1;
|
int tmpargpos=1;
|
||||||
int no_logo=0;
|
int no_logo=0;
|
||||||
|
@ -111,11 +112,6 @@ int main(int argc, char **argv)
|
||||||
atexit(myatexit);
|
atexit(myatexit);
|
||||||
signal(SIGINT,sigint);
|
signal(SIGINT,sigint);
|
||||||
|
|
||||||
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
|
|
||||||
// Added by Ximon Eighteen 5th August 2002
|
|
||||||
build.build_plugin_table();
|
|
||||||
#endif //NSIS_CONFIG_PLUGIN_SUPPORT
|
|
||||||
|
|
||||||
if (!g_output) g_output=stdout;
|
if (!g_output) g_output=stdout;
|
||||||
while (argpos < argc)
|
while (argpos < argc)
|
||||||
{
|
{
|
||||||
|
@ -313,6 +309,13 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
|
||||||
|
// Added by Ximon Eighteen 5th August 2002
|
||||||
|
if (!plugins_processed) {
|
||||||
|
build.build_plugin_table();
|
||||||
|
plugins_processed=1;
|
||||||
|
}
|
||||||
|
#endif //NSIS_CONFIG_PLUGIN_SUPPORT
|
||||||
|
|
||||||
if (build.display_script)
|
if (build.display_script)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue