Commit 2b525db8 authored by Alexandre Julliard's avatar Alexandre Julliard

winegcc: Support building from the top directory.

parent 984934f6
......@@ -1464,6 +1464,11 @@ int main(int argc, char **argv)
/* don't pass it to the compiler, this generates warnings */
raw_compiler_arg = raw_linker_arg = 0;
}
else if (!strcmp(str, "tools/winebuild"))
{
opts.wine_objdir = ".";
raw_compiler_arg = raw_linker_arg = 0;
}
if (!opts.prefix) opts.prefix = strarray_alloc();
strarray_add(opts.prefix, str);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment