-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a placeholder XML manifest to ruby.exe and all extension DLLs
This allows to add a customized manifest within the installer build process later on. The Microsoft mt.exe allows to add a manifest to a EXE or DLL file after the build. But there is no such tool in gcc/llvm. So adding a placeholder manifest allows to later change the XML with simple text replacement. That way the ruby build doesn't need any patches and is not bound too much to the installer. Also use a build directory like the MSYS2/MINGW-packages.
- Loading branch information
Showing
3 changed files
with
59 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include "winuser.h" | ||
2 RT_MANIFEST placeholder.manifest.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
<!-- Enough space for a valid manifest in the DLL --> | ||
</assembly> |