From 558b50f68e81bcad74d07d29847ab01b214c93fe Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 30 May 2024 14:02:06 -0700 Subject: [PATCH] openblad: avoid leaking host paths Potentially fixes compilation. Signed-off-by: Rosen Penev --- libs/openblas/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/openblas/Makefile b/libs/openblas/Makefile index 6cde6d2f59..ec24f94cd8 100644 --- a/libs/openblas/Makefile +++ b/libs/openblas/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=OpenBLAS PKG_VERSION:=0.3.27 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=OpenBLAS-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/xianyi/OpenBLAS/releases/download/v$(PKG_VERSION)/ @@ -113,6 +113,8 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/ + $(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/openblas.pc + $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/openblas.pc endef define Package/openblas/install -- 2.30.2