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