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)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 2 Nov 2023 10:20:32 +0000 (11:20 +0100)
commit400936a98c4733a4e4d9ddfefcdd856a57f95aa5
tree6cca9596da02adfb76be41eb54bdaefefe759b78
parentca0cbe1e97494b6c47347ed1887dda4cbddaba87
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>
(cherry picked from commit 5cafab68ff5bddf5470e7674bb0bf8d0415e8804)
lang/python/numpy/Makefile