| David Reiss | 37b3df2 | 2010-08-31 16:51:32 +0000 | [diff] [blame] | 1 | #!/bin/sh | 
|  | 2 | set -e | 
|  | 3 |  | 
|  | 4 | ./configure \ | 
|  | 5 | --without-cpp \ | 
| Roger Meier | 23c16b7 | 2012-05-01 12:12:17 +0000 | [diff] [blame] | 6 | --without-c_glib \ | 
| David Reiss | 37b3df2 | 2010-08-31 16:51:32 +0000 | [diff] [blame] | 7 | --without-java \ | 
|  | 8 | --without-csharp \ | 
|  | 9 | --without-python \ | 
|  | 10 | --without-ruby \ | 
| Roger Meier | ba47e8e | 2011-03-29 19:59:44 +0000 | [diff] [blame] | 11 | --without-haskell \ | 
| David Reiss | 37b3df2 | 2010-08-31 16:51:32 +0000 | [diff] [blame] | 12 | --without-perl \ | 
|  | 13 | --without-php \ | 
|  | 14 | --without-erlang \ | 
|  | 15 | --build=i686-pc-linux-gnu \ | 
|  | 16 | --host=i586-mingw32msvc \ | 
|  | 17 | CPPFLAGS='-DMINGW' | 
|  | 18 |  | 
|  | 19 | make | 
|  | 20 |  | 
|  | 21 | # Check two locations to be compatible with libtool 1.5.26 or 2.2.6b. | 
|  | 22 | if test -f compiler/cpp/.libs/thrift.exe | 
|  | 23 | then cp compiler/cpp/.libs/thrift.exe ./thrift.exe | 
|  | 24 | else cp compiler/cpp/thrift.exe ./thrift.exe | 
|  | 25 | fi | 
|  | 26 | i586-mingw32msvc-strip ./thrift.exe | 
|  | 27 | echo | 
|  | 28 | ls -l ./thrift.exe |