From 3c7e5d404b18cf3af12ec7b796fda93915d107cd Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Mon, 19 May 2025 23:43:02 +0200 Subject: [PATCH] [gha] Fix MacOS workflows failing with undefined macro errors mk2 The macros shipped with Homebrew's gettext are no longer installed to $(brew --prefix)/share/aclocal, so aclocal can't find them, resulting in autoreconf failing. Fixes issue #1889 --- .github/workflows/macos.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index cd74b8cb..47c4223e 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -58,6 +58,7 @@ jobs: # We configure a non-privileged setup, since how to add a "owntone" system # user in macOS isn't clear to me (useradd etc. isn't available) run: | + export ACLOCAL_PATH="$(brew --prefix)/share/gettext/m4:$ACLOCAL_PATH" export CFLAGS="-I$(brew --prefix)/include -I$(brew --prefix sqlite)/include" export LDFLAGS="-L$(brew --prefix)/lib -L$(brew --prefix sqlite)/lib" autoreconf -fi