numpy: Fix compilation when OpenBLAS support is not enabled
authorJeffery To <jeffery.to@gmail.com>
Fri, 17 Feb 2023 03:47:15 +0000 (11:47 +0800)
committerJeffery To <jeffery.to@gmail.com>
Wed, 10 May 2023 18:46:57 +0000 (02:46 +0800)
commit5cafab68ff5bddf5470e7674bb0bf8d0415e8804
tree9a40318a5a59f8a072067079b8f37d5e3791be05
parent8d331953f34a1ed231cb24893c68606813c36824
numpy: Fix compilation when OpenBLAS support is not enabled

Currently, if OpenBLAS support is not enabled, a site.cfg file is not
written and numpy will use build host paths for libraries. If the build
host has any conflicting libraries, specifically libpython3.10.a, then
compilation will fail.

This ensures site.cfg is always written with buildroot paths.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python/numpy/Makefile