build-helper/numpy: add cross path for libnpyrandom to LDFLAGS

This commit is contained in:
Andrew J. Hesford 2021-06-22 10:28:30 -04:00
parent 300faf0d12
commit 59ab2669e6

View file

@ -20,6 +20,7 @@ if [ "$CROSS_BUILD" ]; then
# addding search paths up front allows the target to take priority
CFLAGS+=" -I${XBPS_CROSS_BASE}/${py3_sitelib}/numpy/core/include"
LDFLAGS+=" -L${XBPS_CROSS_BASE}/${py3_sitelib}/numpy/core/lib"
LDFLAGS+=" -L${XBPS_CROSS_BASE}/${py3_sitelib}/numpy/random/lib"
# distutils from python3-numpy looks to environment variables F77 and
# F90 rather than the XBPS-set FC