Suggested modif on buildscript 20100225 build for Ubuntu
Posted: Fri Apr 02, 2010 7:14 pm
Hi,
I installed the buildscript toolchain on my Ubuntu 9.10 64bits. There was an error around the end of the script, during the 'strip' part for windows .dll and -gccbug
I modified this part of the "build-devkit.sh" script from:
to
So it still supports the MinGW or other environments but also BASH/SH native OSes. Maybe not the best way but it does the trick.
I installed the buildscript toolchain on my Ubuntu 9.10 64bits. There was an error around the end of the script, during the 'strip' part for windows .dll and -gccbug
I modified this part of the "build-devkit.sh" script from:
Code: Select all
# exclude dll for windows, directories & the gccbug text file
if ! [[ "$f" == *.dll || -d $f || "$f" == *-gccbug ]]
then
strip $f
fi
Code: Select all
# exclude dll for windows, directories & the gccbug text file
if [ ! `uname` = "Linux" ]; then
if ! [[ "$f" == *.dll || -d $f || "$f" == *-gccbug ]]; then
strip $f
fi
else
if ! echo "$f" | grep -q '.dll$'; then
if ! echo "$f" | grep -q '\-gccbug$'; then
if [ ! -d $f ]; then
strip $f
fi
fi
fi
fi