summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2022-12-06 14:05:16 -0500
committerBen Wolsieffer <benwolsieffer@gmail.com>2023-04-12 15:37:06 -0400
commit7f8f688ef3d340c50ac47445081ffa1c69449c0c (patch)
treebf390f0175455559d6ae3daa5678162cbab16b19 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent956d034753714c4ca1521c4151b102c2c014d08c (diff)
python3Packages.pybind11: fix cross-compilation with setup hook
pybind11's CMake module uses the Python sysconfig module to find the Python site-packages and include directories. sysconfig returns the wrong values (from build Python) when cross-compiling, so this patch adds a setup hook to pass flags to CMake to override the sysconfig results. Note that the setup hook references build Python, and therefore adds build Python to pybind11's runtime closure. This is not a problem because pybind11 is a header only library and should never end up as part of another package's runtime closure.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions