commit 674787feaeced1fe51f6d344e28ca522808c1292
parent be40ba68a808b61117fb11f7f035b7f205a86dac
Author: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Date: Wed, 29 Jun 2022 01:03:42 +0800
ci(release): link `gettext` include directory
Our previous mangling of gettext broke the `HAVE_WORKING_LIBINTL` test
because it prevented CMake from finding `libintl.h`. Let's fix that by
linking Gettext's `include` directory into `/usr/local` too.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
@@ -102,6 +102,7 @@ jobs:
brew uninstall $(brew uses --installed --recursive gettext)
brew unlink gettext
ln -sf "$(brew --prefix)/opt/$(readlink "${GETTEXT_PREFIX}")/bin"/* /usr/local/bin/
+ ln -sf "$(brew --prefix)/opt/$(readlink "${GETTEXT_PREFIX}")/include"/* /usr/local/include/
rm -f "$GETTEXT_PREFIX"
- name: Build release
run: |