Skip to content

Commit

Permalink
Don't force link gettext on macOS for travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ralreegorganon committed Apr 14, 2020
1 parent 0f42068 commit 89548bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions build-scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ function run_tests
# We might need binaries installed via pip, so ensure that our personal bin dir is on the PATH
export PATH=$HOME/.local/bin:$PATH

# If building on macOS we need to set these so our builds can find the Homebrew version of gettext.
if [ "$TRAVIS_OS_NAME" == "osx" ]
then
set -gx LDFLAGS "-L/usr/local/opt/gettext/lib"
set -gx CPPFLAGS "-I/usr/local/opt/gettext/include"
fi

if [ -n "$TEST_STAGE" ]
then
build-scripts/lint-json.sh
Expand Down
1 change: 0 additions & 1 deletion build-scripts/requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ fi
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update
brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer gettext ncurses ccache
brew link --force gettext ncurses
fi

if [[ "$NATIVE" == "android" ]]; then
Expand Down

0 comments on commit 89548bc

Please sign in to comment.