From 03fcd08d34f5c0c5ee1c0ca885b19facd4e05891 Mon Sep 17 00:00:00 2001 From: delibae Date: Tue, 17 Mar 2026 17:46:50 +0900 Subject: [PATCH] fix: install autotools build deps before vcpkg on macOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit vcpkg ports (gperf, fontconfig) need autoconf/automake/libtool to build from source. These are compile-time tools only — they don't create runtime dylib dependencies. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/build-desktop.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index 5da041f..aee88a7 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -130,6 +130,11 @@ jobs: with: fetch-depth: 0 + # Build tools required by vcpkg ports (autotools for gperf, fontconfig, etc.) + # These are compile-time only — they do NOT create runtime dylib dependencies. + - name: Install build tools + run: brew install autoconf autoconf-archive automake libtool pkg-config + # Static linking via vcpkg — avoids runtime dependency on Homebrew dylibs. # Ref: https://tectonic-typesetting.github.io/book/latest/howto/build-tectonic/ # Ref: https://learn.microsoft.com/en-us/vcpkg/users/triplets (arm64-osx defaults to static) @@ -285,6 +290,10 @@ jobs: with: fetch-depth: 0 + # Build tools required by vcpkg ports (autotools for gperf, fontconfig, etc.) + - name: Install build tools + run: brew install autoconf autoconf-archive automake libtool pkg-config + # Static linking via vcpkg — same approach as Apple Silicon and Windows. - name: Setup vcpkg run: |