Skip to content

Need to re-fix Windows manifest embedding. #11207

Closed
@vadimcn

Description

@vadimcn

The previous attempt (#10878) to fix #10512 has a couple of problems:

  1. Sometimes UpdateResource corrupts executables produced by binutils. (The executable still runs, however tools like dumpbin report corrupted PE header, and gdb crashes when trying to read debug info).
  2. More importantly, this approach does not work for cross-compilation, because, well, you can't call Windows API if the host system is not Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.O-windowsOperating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions