diff options
Diffstat (limited to 'msys-dist.sh')
-rwxr-xr-x | msys-dist.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/msys-dist.sh b/msys-dist.sh new file mode 100755 index 0000000..f2e5941 --- /dev/null +++ b/msys-dist.sh @@ -0,0 +1,14 @@ +#!/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 romlist.bin dist |