summaryrefslogtreecommitdiffstats
path: root/meta-offline-voice-agent/recipes-blas/openblas
diff options
context:
space:
mode:
Diffstat (limited to 'meta-offline-voice-agent/recipes-blas/openblas')
-rw-r--r--meta-offline-voice-agent/recipes-blas/openblas/openblas_git.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-offline-voice-agent/recipes-blas/openblas/openblas_git.bb b/meta-offline-voice-agent/recipes-blas/openblas/openblas_git.bb
index 84e76542..7f105e26 100644
--- a/meta-offline-voice-agent/recipes-blas/openblas/openblas_git.bb
+++ b/meta-offline-voice-agent/recipes-blas/openblas/openblas_git.bb
@@ -49,13 +49,16 @@ EXTRA_OEMAKE = "\
do_install() {
oe_runmake PREFIX=${D}${prefix} install
rm -rf ${D}${bindir} ${D}${libdir}/cmake
+
# fixup pkgconfig file
sed -i -e "s#libdir=/.*#libdir=${libdir}#" ${D}${libdir}/pkgconfig/openblas.pc
sed -i -e "s#includedir=/.*#includedir=${includedir}#" ${D}${libdir}/pkgconfig/openblas.pc
cat ${D}${libdir}/pkgconfig/openblas.pc
+ # Create symlink from libblas.so to libopenblas.so.0, required by scipy
+ ln -s libopenblas.so.0 ${D}${libdir}/libblas.so
}
-FILES:${PN}-dev = "${includedir} ${libdir}/lib${PN}.so"
FILES:${PN} = "${libdir}/*"
+FILES:${PN}-dev = "${includedir} ${libdir}/libopenblas.so ${libdir}/libblas.so"