@ -158,6 +158,9 @@ if [[ "$(uname)" == CYGWIN* ]]; then
elif [ [ " $( uname) " = = MINGW32* ] ] ; then
elif [ [ " $( uname) " = = MINGW32* ] ] ; then
assertEq " $OS " windows $LINENO
assertEq " $OS " windows $LINENO
assertEq " $ARCH " x86_32 $LINENO
assertEq " $ARCH " x86_32 $LINENO
elif [ [ " $( uname) " = = MINGW64* ] ] ; then
assertEq " $OS " windows $LINENO
assertEq " $ARCH " x86_64 $LINENO
elif [ [ " $( uname) " = = Linux* ] ] ; then
elif [ [ " $( uname) " = = Linux* ] ] ; then
if [ [ " $OS " = = linux ] ] ; then
if [ [ " $OS " = = linux ] ] ; then
if [ [ " $ARCH " = = x86_64 ] ] ; then
if [ [ " $ARCH " = = x86_64 ] ] ; then
@ -209,7 +212,7 @@ export CXXFLAGS LDFLAGS
TARGET_FILE = target/protoc.exe
TARGET_FILE = target/protoc.exe
cd " $WORKING_DIR " /.. && ./configure $CONFIGURE_ARGS &&
cd " $WORKING_DIR " /.. && ./configure $CONFIGURE_ARGS &&
cd src && make clean && make $MAKE_TARGET &&
cd src && make clean && make google/protobuf/stubs/pbconfig.h $MAKE_TARGET &&
cd " $WORKING_DIR " && mkdir -p target &&
cd " $WORKING_DIR " && mkdir -p target &&
( cp ../src/protoc $TARGET_FILE || cp ../src/protoc.exe $TARGET_FILE ) ||
( cp ../src/protoc $TARGET_FILE || cp ../src/protoc.exe $TARGET_FILE ) ||
exit 1
exit 1