Remove hardcoded BINDIR paths.
This commit is contained in:
parent
dd0242de6d
commit
4936ce6dfa
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue