From 9ac3dc27a3264c8e85c1d21642c7b771aac92d1b Mon Sep 17 00:00:00 2001 From: NimBold Date: Sun, 6 Sep 2026 16:24:26 +0330 Subject: [PATCH] fix(ci): provide MinGW autotools pkg-config macros - Install the MSYS pkgconf package for Aria2 source provisioning.\n- Expose MSYS and MinGW aclocal directories before autoreconf.\n- Keep release provisioning aligned with the CI dependency contract. --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- scripts/aria2/build.sh | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e500e79..16a63e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -136,7 +136,7 @@ jobs: with: msystem: MINGW64 install: >- - base-devel autoconf automake libtool gettext-devel + base-devel autoconf automake libtool gettext-devel pkgconf mingw-w64-x86_64-gcc mingw-w64-x86_64-pkgconf mingw-w64-x86_64-openssl mingw-w64-x86_64-libssh2 mingw-w64-x86_64-c-ares mingw-w64-x86_64-expat diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4d0f8cd..098e724 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,7 +110,7 @@ jobs: with: msystem: MINGW64 install: >- - base-devel autoconf automake libtool gettext-devel + base-devel autoconf automake libtool gettext-devel pkgconf mingw-w64-x86_64-gcc mingw-w64-x86_64-pkgconf mingw-w64-x86_64-openssl mingw-w64-x86_64-libssh2 mingw-w64-x86_64-c-ares mingw-w64-x86_64-expat diff --git a/scripts/aria2/build.sh b/scripts/aria2/build.sh index f6ac156..91e5e22 100755 --- a/scripts/aria2/build.sh +++ b/scripts/aria2/build.sh @@ -7,6 +7,7 @@ if command -v cygpath >/dev/null 2>&1; then source_root="$(cygpath -u "$source_root")" patch_file="$(cygpath -u "$patch_file")" export PATH="/mingw64/bin:/usr/bin:$PATH" + export ACLOCAL_PATH="/mingw64/share/aclocal:/usr/share/aclocal${ACLOCAL_PATH:+:$ACLOCAL_PATH}" export PKG_CONFIG_PATH=/mingw64/lib/pkgconfig fi cd "$source_root"