Remove --enable-avcodec from build scripts, fix FFMPEG detection, do not link to avcodec or include avcodec headers if not detected

This commit is contained in:
Jonathan Campbell
2020-06-03 10:22:01 -07:00
parent 51a7023cd8
commit f351754bf3
9 changed files with 9 additions and 67 deletions

View File

@@ -45,6 +45,6 @@ export CXXFLAGS="$new$CXXFLAGS"
# now compile ourself
echo Compiling DOSBox-X
chmod +x configure
./configure --enable-core-inline --enable-debug=heavy --prefix=/usr "$@" || exit 1 # --enable-avcodec
./configure --enable-core-inline --enable-debug=heavy --prefix=/usr "$@" || exit 1
make -j3 || exit 1