FFmpeg-Builds/scripts.d/10-mingw-std-threads.sh

18 lines
449 B
Bash
Raw Normal View History

2021-12-05 17:10:48 +00:00
#!/bin/bash
MINGW_STD_THREADS_REPO="https://github.com/meganz/mingw-std-threads.git"
MINGW_STD_THREADS_COMMIT="f73afbe664bf3beb93a01274246de80d543adf6e"
ffbuild_enabled() {
[[ $TARGET == win* ]] || return -1
return 0
}
ffbuild_dockerbuild() {
git-mini-clone "$MINGW_STD_THREADS_REPO" "$MINGW_STD_THREADS_COMMIT" mingw-std-threads
cd mingw-std-threads
mkdir -p "$FFBUILD_PREFIX"/include
cp *.h "$FFBUILD_PREFIX"/include
}