mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
23c16b7df7
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1332624 13f79535-47bb-0310-9956-ffa450edef68
29 lines
591 B
Bash
Executable File
29 lines
591 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
./configure \
|
|
--without-cpp \
|
|
--without-c_glib \
|
|
--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
|