diff options
author | Jeffery To <jeffery.to@gmail.com> | 2023-10-30 23:56:43 +0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2023-10-30 13:33:07 -0700 |
commit | 624fb955619c0b4b368e2ac1880619f159e3b8d6 (patch) | |
tree | 83b1dbf10387dc70c42c360bff4e19cda3d4f348 /net/freeradius3 | |
parent | 9ea2ec7cd1d9902352a67d6152107e9c452d6dbb (diff) |
python3: Fix building C extensions with setuptools
setuptools provides a local copy of distutils and when building a C
extension, this distutils will add the target LIBDIR (/usr/lib) to the
list of library paths.
If the build system has a libpython3.11.so in /usr/lib, then the linker
will try to link to this shared library and fail.
This adapts 008-distutils-use-python-sysroot.patch for host setuptools
to add the correct library directory.
Fixes: https://github.com/openwrt/packages/issues/22330
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'net/freeradius3')
0 files changed, 0 insertions, 0 deletions