diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-06-09 21:44:03 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-06-09 21:44:03 +0300 |
commit | 228b4400a0d95881f9d9d16f9afa339bd2647941 (patch) | |
tree | c25cf72f1d3fec62399a40972f3b373492fd7514 /solenv | |
parent | 9cb0547561191b9b4bdcdaa44d6047e135a345c8 (diff) |
Don't fail if we have no checkdll tool, for instance when cross-compiling
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/bin/checkdll.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/solenv/bin/checkdll.sh b/solenv/bin/checkdll.sh index aa281af5d353..538a9c5fb513 100755 --- a/solenv/bin/checkdll.sh +++ b/solenv/bin/checkdll.sh @@ -82,6 +82,14 @@ if [ -x $checkdll ]; then fi else echo "WARNING: checkdll not found!" 1>&2 + + for parameter in $*; do + library=$parameter; + done + realname=`echo $library | sed "s/check_//"` + if [ $library != $realname ]; then + mv $library $realname + fi fi exit 0 |