Commit 9bb21d11 authored by Andre Heider's avatar Andre Heider Committed by Alexandre Julliard

winegcc: Don't add the prefix's include dir using -isystem.

Always use -I, this fixes the include search path if the prefix is set to '/usr'. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46293Signed-off-by: 's avatarAndre Heider <a.heider@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 370ffa0d
......@@ -698,7 +698,7 @@ no_compat_defines:
strarray_add(comp_args, gcc_defs ? "-isystem" INCLUDEDIR "/wine/msvcrt" : "-I" INCLUDEDIR "/wine/msvcrt" );
strarray_add(comp_args, "-D__MSVCRT__");
}
strarray_add(comp_args, gcc_defs ? "-isystem" INCLUDEDIR : "-I" INCLUDEDIR );
strarray_add(comp_args, "-I" INCLUDEDIR );
strarray_add(comp_args, gcc_defs ? "-isystem" INCLUDEDIR "/wine/windows" : "-I" INCLUDEDIR "/wine/windows" );
}
else if (opts->wine_objdir)
......
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