mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 21:03:00 -05:00
[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
This commit is contained in:
1
.github/workflows/macos.yml
vendored
1
.github/workflows/macos.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user