mirror of
https://github.com/ForLoopCodes/legacy-notepad.git
synced 2026-04-26 12:25:50 +03:00
[PR #6] [MERGED] Statically link MinGW builds to eliminate DLL dependencies #19
Labels
No labels
bug
bug
documentation
enhancement
good first issue
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/legacy-notepad#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ForLoopCodes/legacy-notepad/pull/6
Author: @Copilot
Created: 1/30/2026
Status: ✅ Merged
Merged: 1/30/2026
Merged by: @ForLoopCodes
Base:
main← Head:copilot/release-statically-linked-exe📝 Commits (2)
0061068Initial planb7d6259Fix MinGW DLL dependency by adding -static flag📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
CMakeLists.txt(+1 -1)📄 Description
Releases built with MinGW depend on
libwinpthread-1.dlland other runtime DLLs, requiring users to have MinGW installed.Changes
-staticflag to MinGW linker options in CMakeLists.txtThe existing
-static-libgcc -static-libstdc++flags only covered GCC/C++ runtimes. The-staticflag ensures complete static linking including winpthread.Result: Standalone exe with no MinGW dependencies. MSVC builds unchanged.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.