From c9b833f536d37ba40242b9cb59e202542cd9c947 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 17 Feb 2022 02:16:33 +0000 Subject: fixed lua and liblinear --- repo/system/liblinear.xibuild | 1 + repo/system/lua.xibuild | 2 ++ 2 files changed, 3 insertions(+) (limited to 'repo/system') diff --git a/repo/system/liblinear.xibuild b/repo/system/liblinear.xibuild index 2427bca..a1801da 100644 --- a/repo/system/liblinear.xibuild +++ b/repo/system/liblinear.xibuild @@ -12,6 +12,7 @@ build () { } package () { + mkdir -pv ${PKG_DEST}/usr/{include,lib} install -vm644 linear.h $PKG_DEST/usr/include && install -vm755 liblinear.so.4 $PKG_DEST/usr/lib && ln -sfv liblinear.so.4 $PKG_DEST/usr/lib/liblinear.so diff --git a/repo/system/lua.xibuild b/repo/system/lua.xibuild index f231481..6c035e0 100644 --- a/repo/system/lua.xibuild +++ b/repo/system/lua.xibuild @@ -34,6 +34,8 @@ Libs: -L${libdir} -llua -lm -ldl Cflags: -I${includedir} EOF +patch -Np1 -i lua-$PKG_VER-shared_library-1.patch + } build () { -- cgit v1.2.1