Find required dlls from .exe files.

This commit is contained in:
dolphin6k 2020-10-15 10:53:59 +09:00
parent 8d8405daab
commit 18912ee8ea
2 changed files with 9 additions and 49 deletions

6
src/install-dlls.sh Normal file
View file

@ -0,0 +1,6 @@
#!/bin/sh
for dll in `ldd tuxpaint.exe $1/tuxpaint-config.exe 2>&1 | grep /mingw | awk '{print $3}' | sort | uniq`
do
cp $dll $2
done