Browse Source

Build system: ship patcher.exe on Windows as well.

git-svn-id: file:///var/svn/tigccpp/trunk@1368 9552661e-59e3-4036-b4f2-dbe53926924f
debrouxl 14 years ago
parent
commit
829ae8904e
1 changed files with 4 additions and 1 deletions
  1. 4 1
      tigcc-linux/scripts/launch.patcher

+ 4 - 1
tigcc-linux/scripts/launch.patcher

@@ -20,14 +20,17 @@ fi
 
 iswin1=`echo $GCC4TIHOST | grep -E -i "msys|mingw|cygwin"`
 iswin2=`uname -a | grep -E -i "msys|mingw|cygwin"`
-if [ "x$iswin1" = "x" -a "x$iswin2" = "x" ]; then
 
 echo Installing GCC4TI patcher...
 ORG_PWD=$PWD/..
 cd "$ORG_PWD/sources/patcher/src/"
 ${make} -e || exit 1
 ${install} -d "$PREFIX_GCC4TI/bin" || exit 1
+if [ "x$iswin1" = "x" -a "x$iswin2" = "x" ]; then
 ${install} patcher "$PREFIX_GCC4TI/bin" || exit 1
+else
+${install} patcher.exe "$PREFIX_GCC4TI/bin" || exit 1
+fi
 ${make} clean
 
 cd "$ORG_PWD/scripts"