repo.or.cz
/
mingw-xscripts.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add PhysicsFS instructions
[mingw-xscripts.git]
/
mingw-strip-dlls
blob
108a30b3eba402bdd62c88c8f472780ba9276ea8
1
#!/bin/sh
2
3
. mingw-environment.sh
4
5
cat
>&
2
<<EOF
6
WARNING: Certain DLLs may stop working after stripped. Make sure to
7
only strip DLLs compiled using the
$TARGET
compiler.
8
EOF
9
10
test
"
$1
"
||
{
11
echo
"Usage:
$0
DLLS"
12
exit
13
}
14
15
set -x
16
$TARGET
-strip --strip-unneeded
"$@"
17