mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-03-06 21:00:31 +01:00
Add a script to easily grab the needed libraries when building with MSYS2
This commit is contained in:
parent
9c9b2e79ce
commit
00ad620b8f
1 changed files with 14 additions and 0 deletions
14
msys-dist.sh
Executable file
14
msys-dist.sh
Executable file
|
@ -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
|
Loading…
Add table
Reference in a new issue