mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-16 21:10:10 +00:00
This fixes an issue where on Ubuntu 22.04 (with Python 3.10), the installation of the Python module would go to $PREFIX/local/lib even if the rest goes to $PREFIX/lib. We achieve this by avoiding a) using sysconfig.get_path() to get *both* the prefix and the library path, and then also avoiding the `posix_local` install scheme. Note: This same logic fails to work for MPM, so we don't touch that, but simply force MPM to use the same path as UHD has. This means MPM is unaffected when built by itself, but follows the UHD path when built as part of UHD. Hat-tip to Johannes Demel for pointing out this solution path. |
||
|---|---|---|
| .. | ||
| uhd | ||
| CMakeLists.txt | ||
| pyuhd.cpp | ||
| setup.py.in | ||