diff options
| author | ruki <[email protected]> | 2016-09-17 21:41:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-09-17 21:41:13 +0800 |
| commit | da0bdf127155da18709d4bd1d97bbda98094510a (patch) | |
| tree | 19a0c305e19fe65edb0ab6fa9c071fc7265fc593 | |
| parent | e5d0b0268345ab27e25c16b40c861b7c47fcbb6f (diff) | |
fix install error
| -rwxr-xr-x | install | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -21,25 +21,25 @@ echo installing to $prefix ... # probe plat uname=`uname` if [ $uname = "MSVC" ]; then - plat=msvc + plat=windows elif [ $uname = "Darwin" ] || [ `uname | egrep -i darwin` ]; then - plat=mac + plat=macosx elif [ $uname = "Linux" ] || [ `uname | egrep -i linux` ]; then plat=linux elif [ `uname | egrep -i msys` ]; then - plat=msvc + plat=windows elif [ `uname | egrep -i cygwin` ]; then - plat=msvc + plat=windows else plat=linux fi echo plat: $plat # probe arch -arch=x86 -if [ $plat = "linux" ] || [ $plat = "mac" ]; then +arch=i386 +if [ $plat = "linux" ] || [ $plat = "macosx" ]; then if [ `getconf LONG_BIT` = "64" ]; then - arch=x64 + arch=x86_64 fi fi echo arch: $arch |
