wine-fl/programs/wscript
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Bernhard M. Wiedemann 376d9c4335 wscript: Use angle brackets to include the generated ihost.h.
The wscript sources are also compiled for the cscript module via PARENTSRC,
and cscript generates its own ihost.h (with its own EXTRADEFS).  With a
quoted include the compiler searches the directory of the including file
first, so cscript's objects silently pick up programs/wscript/ihost.h
whenever that file has already been generated, rather than the
programs/cscript/ihost.h that makedep records as the dependency.

Which of the two headers wins depends on the order in which make happens to
run the widl rules, so it changes with -j.  That makes cscript.exe
unreproducible: the debug info records a different directory for ihost.h,
which changes the build-id and with it the .gnu_debuglink CRC and the PE
checksum.

Use angle brackets so that only the -I search path is considered, which is
what dlls/xaudio2_7/xaudio_private.h already does for the same reason.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=60238
Signed-off-by: Bernhard M. Wiedemann <claudeaibmw@lsmod.de>
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
2026-08-26 10:54:09 +02:00
..
tests wscript/tests: Add encoding tests for UTF-16 script files. 2026-07-21 23:08:07 +02:00
arguments.c [cw]script: Enable compilation with long types. 2022-02-04 11:20:33 +01:00
host.c wscript: Terminate the script when WScript.Timeout elapses. 2026-04-20 20:39:17 +02:00
ihost.idl makefiles: Add makedep pragmas for typelib idl files. 2013-11-05 20:38:18 +01:00
ihost_dispid.h
main.c wscript: Support UTF-16 LE encoded script files. 2026-07-21 23:08:07 +02:00
Makefile.in wscript: Implement error messages, usage output, and //nologo banner. 2026-04-17 18:31:41 +02:00
resource.h wscript: Terminate the script when WScript.Timeout elapses. 2026-04-20 20:39:17 +02:00
wscript.h wscript: Use angle brackets to include the generated ihost.h. 2026-08-26 10:54:09 +02:00
wscript.rc wscript: Terminate the script when WScript.Timeout elapses. 2026-04-20 20:39:17 +02:00