Skip to content

Ruby-head: Add placeholder manifest necessary for arm64#21

Merged
larskanis merged 1 commit intomasterfrom
arm64
Jan 9, 2025
Merged

Ruby-head: Add placeholder manifest necessary for arm64#21
larskanis merged 1 commit intomasterfrom
arm64

Conversation

@larskanis
Copy link
Member

@larskanis larskanis commented Dec 15, 2024

This adds a placeholder manifest to exe and dll files, since there is no default manifest when linked with clang.

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.

The exe manifest of ruby core is re-enbaled now, since DLL manifests are sufficient to declare DLL dependencies.

Also use a build directory like the MSYS2/MINGW-packages.
@larskanis larskanis changed the title Ruby-head: Add support for arm64 Ruby-head: Add placeholder manifest necessary for arm64 Jan 9, 2025
@larskanis larskanis merged commit 549f744 into master Jan 9, 2025
6 checks passed
@larskanis larskanis deleted the arm64 branch January 9, 2025 10:09
larskanis added a commit that referenced this pull request Jan 9, 2025
larskanis added a commit that referenced this pull request Jan 9, 2025
larskanis added a commit that referenced this pull request Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant