@ -155,42 +155,22 @@ case "$build" in
; ;
; ;
CYGW)
CYGW)
if [ ! -z " $RECURSIVE " ] ; then
if [ " $x64 " = = true ] ; then
# export LIBS=-lintl
export CFLAGS = -m64
# I've given up:
export CXXFLAGS = -m64
# 1 trying to get Cygwin to build with gettext and friends
export LDFLAGS = -m64
# 2 trying to get Cygwin to install into a local directory
fi
# deal with 32bit and 64bit build requests
# Jenkins invokes the 32 bit cygwin, so recursively build 64 bits.
echo make clean
make clean
echo rm config.log config.status
rm -rf config.log config.status
echo make config
echo make config
make config
make config
echo ./configure ${ withcurl } ${ withssh } --disable-nls
# I've given up trying to get Cygwin to install into a local directory
./configure ${ withcurl } ${ withssh } --disable-nls
echo ./configure ${ withcurl } ${ withssh }
./configure ${ withcurl } ${ withssh }
make -j
make -j
result = $?
make install
make install
make -j samples
make -j samples
run_tests
run_tests
/usr/local/bin/exiv2 -v -V
/usr/local/bin/exiv2 -v -V
result = $?
else
if [ " $x64 " = = true ] ; then
export RECURSIVE = 1
/cygdrive/c/cygwin64/bin/bash.exe -c " cd $PWD ; ./ $0 "
# cd "$PWD" ; ./$0
result = $?
fi
if [ " $Win32 " = = true ] ; then
export RECURSIVE = 1
/cygdrive/c/cygwin/bin/bash.exe -c " cd $PWD ; ./ $0 "
# cd "$PWD" ; ./$0
result = $?
fi
fi
; ;
; ;
MING)
MING)