QUERY · ISSUE
ports/unix: Allow building and linking dynamically against libmbedtls on Linux
enhancement
Description
It would be nice if micropython could be built against the libmbedtls from a linux distro instead of the one bundled with the sources - similar to as it works now with libffi on the unix port.
Code Size
No response
Implementation
I hope the MicroPython maintainers or community will implement this feature
Code of Conduct
Yes, I agree
CANDIDATE · PULL REQUEST
ports/unix: Disable the shared library of libffi
port-unix
Hi, I was trying to build an static copy of MicroPython with zig as crosscompiler and I saw a problem building the shared library in the bundled copy of libffi. MicroPython doesn't need the shared library, so I disabled it in the configure.
The change was tested with gcc and clang and both pass the tests.