Actually, that is a good idea. I think Wengier did that

This commit is contained in:
Jonathan Campbell
2021-06-22 11:49:10 -06:00
parent c32e88d3c4
commit 1667be696e

View File

@@ -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