Compare commits
2 Commits
693fd08f18
...
7cbcf734f5
Author | SHA1 | Date |
---|---|---|
|
7cbcf734f5 | 15 hours ago |
|
6fb8e7314c | 15 hours ago |
5 changed files with 26 additions and 6 deletions
Binary file not shown.
@ -0,0 +1,20 @@ |
|||
#!/bin/bash |
|||
|
|||
appdir=$1 |
|||
|
|||
if [ -z "$appdir" ]; then |
|||
echo "usage: $0 <appdir>" |
|||
exit 1 |
|||
fi |
|||
|
|||
function copylibs() { |
|||
DLLFILE=$1 |
|||
echo "Checking: $DLLFILE" |
|||
ldd $DLLFILE | grep '/mingw64/bin' | awk '{print $1}' | uniq | while read line; do |
|||
cp -v /mingw64/bin/$line $appdir |
|||
done |
|||
} |
|||
|
|||
find "$appdir" -type f -name '*.dll' | while read line; do |
|||
copylibs $line |
|||
done |
Binary file not shown.
Loading…
Reference in new issue