From 1667be696eb33212fd108a525dd876d551304ca3 Mon Sep 17 00:00:00 2001 From: Jonathan Campbell Date: Tue, 22 Jun 2021 11:49:10 -0600 Subject: [PATCH] Actually, that is a good idea. I think Wengier did that --- build-macosx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build-macosx b/build-macosx index 0e45099a6..48c0e84c8 100755 --- a/build-macosx +++ b/build-macosx @@ -53,6 +53,10 @@ export CPPFLAGS="$new$CPPFLAGS" export CXXFLAGS="$new$CXXFLAGS" export INTERNAL_FREETYPE=1 +brew list fluid-synth &>/dev/null || brew install fluid-synth +brew list libslirp &>/dev/null || brew install libslirp +brew list pkg-config &>/dev/null || brew install pkg-config + opts= # if Brew has installed packages, try to use those too @@ -67,7 +71,7 @@ if [[ -d "$brew" && -d "$brew/include" && -d "$brew/lib" ]]; then export CXXFLAGS="$CXXFLAGS$new" export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$brew/lib/pkgconfig" else -opts+=" --disable-avcodec --disable-libfluidsynth --disable-libslirp" +opts+=" --disable-avcodec" fi # now compile ourself