mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
27 lines
434 B
C
27 lines
434 B
C
#include "toolspath.h"
|
|
#include "linkargs.h"
|
|
|
|
int
|
|
main(int argc, char **argv)
|
|
{
|
|
int iRetVal;
|
|
char* args[1000];
|
|
int i = 0;
|
|
int j = 0;
|
|
int k = 0;
|
|
int s = 0;
|
|
|
|
// if -DLL is not passed, then change the entry to 'main'
|
|
while(argv[j]) {
|
|
checkLinkArgs(&k, &s, &i, &j, args, argv);
|
|
j++;
|
|
}
|
|
args[i++] = LINK_PATH;
|
|
addLinkArgs(k, s, &i, &j, args, argv);
|
|
|
|
argpath_conv(&argv[1], &args[i]);
|
|
|
|
return run(args);
|
|
}
|
|
|