summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-17 02:16:33 +0000
committerdavidovski <david@davidovski.xyz>2022-02-17 02:16:33 +0000
commitc9b833f536d37ba40242b9cb59e202542cd9c947 (patch)
treef4b82440ff3151108de222a75df046fe3f64bfaa /repo
parent87c4beedf70bed69f5f4cd9664d9f476959c5139 (diff)
fixed lua and liblinear
Diffstat (limited to 'repo')
-rw-r--r--repo/system/liblinear.xibuild1
-rw-r--r--repo/system/lua.xibuild2
2 files changed, 3 insertions, 0 deletions
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 () {