Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 27 lines (24 sloc) 0.57 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#!/bin/sh
set -e

./configure \
  --without-cpp \
  --without-java \
  --without-csharp \
  --without-python \
  --without-ruby \
  --without-haskell \
  --without-perl \
  --without-php \
  --without-erlang \
  --build=i686-pc-linux-gnu \
  --host=i586-mingw32msvc \
  CPPFLAGS='-DMINGW'

make

# Check two locations to be compatible with libtool 1.5.26 or 2.2.6b.
if test -f compiler/cpp/.libs/thrift.exe
  then cp compiler/cpp/.libs/thrift.exe ./thrift.exe
  else cp compiler/cpp/thrift.exe ./thrift.exe
fi
i586-mingw32msvc-strip ./thrift.exe
echo
ls -l ./thrift.exe
Something went wrong with that request. Please try again.