xvidcore appears to have fixed the lib name on Windows

This commit is contained in:
BtbN 2022-07-13 12:51:27 +02:00
parent d1dd644b80
commit 3ad7540a02

View file

@ -40,8 +40,7 @@ ffbuild_dockerbuild() {
make install make install
if [[ $TARGET == win* ]]; then if [[ $TARGET == win* ]]; then
rm "$FFBUILD_PREFIX"/{bin/xvidcore.dll,lib/xvidcore.dll.a} rm "$FFBUILD_PREFIX"/{bin/libxvidcore.dll,lib/libxvidcore.dll.a}
mv "$FFBUILD_PREFIX"/lib/{,lib}xvidcore.a
elif [[ $TARGET == linux* ]]; then elif [[ $TARGET == linux* ]]; then
rm "$FFBUILD_PREFIX"/lib/libxvidcore.so* rm "$FFBUILD_PREFIX"/lib/libxvidcore.so*
fi fi