melonDS/msys-dist.sh
Raphaël Zumer 68e310e4ef Deploy Qt libraries with dynamic Windows builds
Also stop using msys-dist.sh with the static CI build.
2020-07-31 16:50:19 -04:00

16 lines
277 B
Bash
Executable File

#!/bin/bash
if [[ ! -x melonDS.exe ]]; then
echo "Run this script from the directory you built melonDS."
exit 1
fi
mkdir -p dist
for lib in $(ldd melonDS.exe | grep mingw | sed "s/.*=> //" | sed "s/(.*)//"); do
cp "${lib}" dist
done
cp melonDS.exe dist
windeployqt dist