astral-sh / astral-sh/python-build-standalone
Upstream patch `patch-ctypes-static-binary.patch`
Open
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 314
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 27
Description
[`patch-ctypes-static-binary.patch`](https://github.com/astral-sh/python-build-standalone/blob/main/cpython-unix/patch-ctypes-static-binary.patch)
Code that runs at ctypes module import time does not work with non-dynamic binaries.
This patch fixes ctypes to work with statically linked binaries. See https://bugs.python.org/issue37060
Contributor guide
Assessment
This issue has not been assessed yet.