Skip to content

Conversation

juanfra684
Copy link
Contributor

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.

@codecov-commenter
Copy link

Codecov Report

Merging #10383 (248670a) into master (699477d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #10383   +/-   ##
=======================================
  Coverage   98.49%   98.49%           
=======================================
  Files         155      155           
  Lines       20528    20528           
=======================================
  Hits        20220    20220           
  Misses        308      308           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

MicroPython doesn't need the shared library and disabling it in the
configure could ease the build of a static version of MicroPython.
@dpgeorge dpgeorge merged commit 720f2cf into micropython:master Jan 19, 2023
@dpgeorge
Copy link
Member

Thanks for the patch, this looks fine.

tannewt pushed a commit to tannewt/circuitpython that referenced this pull request Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants