[SPEC2DEF] Ignore -import flag in spec files

These are used by wine for exports that re-export the import stub function from an import library.
We don't need to do anything here, so simply ignore it.
This commit is contained in:
Timo Kreuzer
2026-06-19 19:27:29 +00:00
parent 7fa69c0f8a
commit dea50f4746
+4
View File
@@ -1206,6 +1206,10 @@ ParseFile(char* pcStart, FILE *fileDest, unsigned *cExports)
{
exp.uFlags |= FL_REGISTER;
}
else if (CompareToken(pc, "-import"))
{
/* The export is imported from an import library. Ignored. */
}
else
{
fprintf(stdout,