Skip to content

Conversation

@emmatyping
Copy link

@emmatyping emmatyping commented Dec 13, 2025

This commit modifies the build system to directly generate shared objects rather than generating a static library that is linked to libpython into a shared object. This removes the link hack that we currently use.

The downside is that we should probably figure out a way to handle custom linker flags and customization of BLDSHARED.

This commit modifies the build system to directly generate shared
objects rather than generating a static library that is linked to
libpython into a shared object.

The downside is that we should probably figure out a way to handle
custom linker flags and customization of `BLDSHARED`.
@emmatyping
Copy link
Author

Hmm CI still isn't running...

@emmatyping emmatyping closed this Dec 13, 2025
@emmatyping emmatyping reopened this Dec 13, 2025
@Eclips4
Copy link
Member

Eclips4 commented Dec 13, 2025

We should remove #[unsafe(no_mangle)] from _base64_clear & _base64_free & standard_b64encode to make Check if generated files up are up to date pass (it's basically check's whether exported symbols starts with Py prefix).
I guess these symbols are not expected to be exported?

@Eclips4
Copy link
Member

Eclips4 commented Dec 13, 2025

macOS failures are unrelated to this PR, I've seen them yesterday on our main branch, I'll try to figure out how to fix them

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.

3 participants