Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-14 06:13:09 +00:00

AI fixes, update builder-linux

This commit is contained in:
bol-van
2026-02-18 12:15:19 +03:00
parent e30f99e106
commit f70fb89754
5 changed files with 12 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ make -C /opt/zapret2 systemd
linux static :
need any x86_64 classic linux distribution
dependencies: apt install curl xz-utils bzip2 unzip make gcc libcap-dev pkg-config
dependencies: apt install curl xz-utils bzip2 unzip make gcc gcc-multilib libc6-dev libcap-dev pkg-config
copy directory "builder-linux" somethere with enough free disk space (up to 2G for all toolchains)
run "get_toolchains.sh"
select architectures you need or "ALL"

View File

@@ -46,7 +46,7 @@ target_has_luajit()
return 1
}
REQD_H_FILES="/usr/include/x86_64-linux-gnu/sys/queue.h /usr/include/sys/capability.h"
REQD_H_FILES="/usr/include/x86_64-linux-gnu/sys/queue.h /usr/include/sys/capability.h /usr/include/bits/libc-header-start.h"
check_h_files()
{
check_file $REQD_H_FILES
@@ -206,7 +206,7 @@ check_prog()
while [ -n "$1" ]; do
exists $1 || {
echo $1 is not available
echo "debian/ubuntu: apt install curl xz-utils bzip2 unzip make gcc libcap-dev pkg-config"
echo "debian/ubuntu: apt install curl xz-utils bzip2 unzip make gcc gcc-multilib libc6-dev libcap-dev pkg-config"
exit 10
}
shift