Skip to content

Commit

Permalink
Add a script to easily grab the needed libraries when building with M…
Browse files Browse the repository at this point in the history
…SYS2
  • Loading branch information
nadiaholmquist committed May 1, 2019
1 parent 9c9b2e7 commit 00ad620
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions 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

0 comments on commit 00ad620

Please sign in to comment.