Explorar o código

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

git-svn-id: file:///var/svn/tigccpp/trunk@1368 9552661e-59e3-4036-b4f2-dbe53926924f
debrouxl %!s(int64=14) %!d(string=hai) anos
pai
achega
829ae8904e
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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"