Skip to content

Add an option to build a static library#268

Closed
ghost wants to merge 3 commits intomainfrom
unknown repository
Closed

Add an option to build a static library#268
ghost wants to merge 3 commits intomainfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Sep 25, 2025

Closes #241

I've tested it with the built-in tests, with a modified CPPFLAGS. It does still function and hardened_malloc is in use.

It appears to automatically build it by default.

@ghost
Copy link
Copy Markdown
Author

ghost commented Oct 29, 2025

@thestinger any updates?

@ghost ghost closed this Nov 15, 2025
@thestinger thestinger reopened this Nov 15, 2025
@thestinger
Copy link
Copy Markdown
Member

@charles25565 Please rebase it instead of merging. You can just rebase it on top of main and it will drop the merge.

@ghost ghost force-pushed the add-static-target branch from 267207e to 705d2d8 Compare November 15, 2025 22:10
@ghost ghost force-pushed the add-static-target branch from 705d2d8 to 5c9dede Compare November 15, 2025 22:12
@ghost
Copy link
Copy Markdown
Author

ghost commented Nov 15, 2025

@charles25565 Please rebase it instead of merging. You can just rebase it on top of main and it will drop the merge.

Figured that out.

Just sync the fork using whichever method, then clone, then switch to the branch, then rebase to main, then force push.

@ghost
Copy link
Copy Markdown
Author

ghost commented Nov 15, 2025

The GrapheneOS team has told me that this feature is low priority and they have a bunch of other tasks to do other than random tiny features that don't improve security, such as this PR.

If you are a user and wondering why this PR hasn't been merged yet, this is why.

If you really need it for a project you can manually merge the PR yourself to your local hardened_malloc tree.

@ghost ghost closed this by deleting the head repository Apr 2, 2026
This pull request was closed.
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.

Support for statically linked binaries

1 participant