https://bugs.winehq.org/show_bug.cgi?id=50811
Bug ID: 50811 Summary: Bad options passed to wrc, gdi32.res not created Product: Wine-staging Version: 6.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mike@cchtml.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
My 6.4 build of wine-staging is failing:
winegcc: File does not exist: dlls/gdi32/gdi32.res make: *** [Makefile:53880: dlls/gdi32/gdi32.dll] Error 2
I traced the problem to "-pthread" being added to the wrc command.
tools/wrc/wrc -u -o dlls/gdi32/gdi32.res -m64 --nostdinc --po-dir=po -Idlls/gdi32 -Iinclude -Iinclude/msvcrt \ -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 \ -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -D__WINESRC__ \ -pthread -D_GDI32_ -D_UCRT dlls/gdi32/gdi32.rc ... <wrc usage output here> ... tools/wrc/wrc: invalid option -- 'p' tools/wrc/wrc: invalid option -- 't'