diff --git a/Makefile b/Makefile index 9de8f9f9..cc15038b 100644 --- a/Makefile +++ b/Makefile @@ -77,25 +77,25 @@ run: invidious # - armhf (arm-linux-gnueabihf) invidious-cross-amd64-glibc: - crystal build src/invidious.cr $(FLAGS) -Dskip_videojs_download \ + crystal build src/invidious.cr $(FLAGS) -Duse_pcre -Dskip_videojs_download \ --cross-compile --target='x86_64-linux-gnu' -o invidious-amd64-glibc invidious-cross-amd64-musl: - crystal build src/invidious.cr $(FLAGS) -Dskip_videojs_download \ + crystal build src/invidious.cr $(FLAGS) -Duse_pcre -Dskip_videojs_download \ --cross-compile --target='x86_64-linux-musl' -o invidious-amd64-musl invidious-cross-arm64-glibc: - crystal build src/invidious.cr $(FLAGS) -Dskip_videojs_download \ + crystal build src/invidious.cr $(FLAGS) -Duse_pcre -Dskip_videojs_download \ --cross-compile --target='aarch64-linux-gnu' -o invidious-arm64-glibc invidious-cross-arm64-musl: - crystal build src/invidious.cr $(FLAGS) -Dskip_videojs_download \ + crystal build src/invidious.cr $(FLAGS) -Duse_pcre -Dskip_videojs_download \ --cross-compile --target='aarch64-linux-musl' -o invidious-arm64-musl invidious-cross-armhf: - crystal build src/invidious.cr $(FLAGS) -Dskip_videojs_download \ + crystal build src/invidious.cr $(FLAGS) -Duse_pcre -Dskip_videojs_download \ --cross-compile --target='arm-linux-gnueabihf' -o invidious-armhf diff --git a/docker/Dockerfile.arm64-musl-cross b/docker/Dockerfile.arm64-musl-cross index 5dec46db..3689f631 100644 --- a/docker/Dockerfile.arm64-musl-cross +++ b/docker/Dockerfile.arm64-musl-cross @@ -1,7 +1,7 @@ FROM alpine:3.18 AS builder RUN apk add --no-cache gcc make yaml-static libxml2-static sqlite-static zlib-static \ - xz-static openssl-libs-static openssl-dev pcre-dev gc-dev libevent-static musl-dev + xz-static openssl-libs-static openssl-dev pcre-dev pcre2-dev gc-dev libevent-static musl-dev ARG release