Remove hardcoded BINDIR paths.

This commit is contained in:
Richard Cohen 2003-08-20 03:49:40 +00:00 committed by Alexandre Julliard
parent dd0242de6d
commit 4936ce6dfa
2 changed files with 4 additions and 4 deletions

View File

@ -132,7 +132,7 @@ char *get_obj_file(char **argv, int n)
tmpobj = get_temp_file(".o");
compargv = malloc(sizeof(char*) * (n + 10));
i = 0;
compargv[i++] = BINDIR "/winegcc";
compargv[i++] = "winegcc";
compargv[i++] = "-c";
compargv[i++] = "-o";
compargv[i++] = tmpobj;
@ -219,7 +219,7 @@ int main(int argc, char **argv)
{
int has_output_name = 0;
gcc_argv[i++] = BINDIR "/winewrap";
gcc_argv[i++] = "winewrap";
if (gui_app) gcc_argv[i++] = "-mgui";
if (cpp) gcc_argv[i++] = "-C";

View File

@ -507,7 +507,7 @@ int main(int argc, char **argv)
/* build winebuild's argument list */
spec_args = malloc( (nb_arh_files + nb_dll_files + nb_obj_files + 20) * sizeof (char *) );
j = 0;
spec_args[j++] = BINDIR "/winebuild";
spec_args[j++] = "winebuild";
spec_args[j++] = "-o";
spec_args[j++] = spec_c_name;
if (create_wrapper)
@ -577,7 +577,7 @@ int main(int argc, char **argv)
/* build wrapper winebuild's argument list */
wspec_args = malloc( (nb_dll_files + 20) * sizeof (char *) );
j = 0;
wspec_args[j++] = BINDIR "/winebuild";
wspec_args[j++] = "winebuild";
wspec_args[j++] = "-o";
wspec_args[j++] = wspec_c_name;
wspec_args[j++] = "--exe";