Open
Description
Describe the issue:
I am working on numpy support for Nuitka-Python, a fully static, cross-platform, Python ecosystem. This means that I need to use the static library building functionality of meson that numpy typically wouldn't use.
I noticed that a section of static library code was not properly merged: https://github.com/numpy/meson/blame/main-numpymeson/mesonbuild/build.py#L1448
The origin
variable is not defined anywhere and results a NameError.
This variable is not present in upstream meson: https://github.com/mesonbuild/meson/blame/master/mesonbuild/build.py#L1466
It might make sense to run a linter on the fork to catch any other such issues and avoid them in the future.
Reproduce the code example:
# Not applicable
Error message:
No response
Python and NumPy Versions:
Numpy 2.1.3
Nuitka-Python 3.11
Runtime Environment:
No response
Context for the issue:
No response