Commit 7364f4a7 by Carolina Galvão

Fixing Mac 3rdparty script

1 parent 1e10fa12
......@@ -775,10 +775,22 @@ if [ ! -f "$TERRALIB_DEPENDENCIES_DIR/lib/libminizip.a" ]; then
sleep 1s
tar xzvf minizip.tar.gz > /dev/null 2> /dev/null
valid $? "Error: could not uncompress minizip.tar.gz!"
tar xzvf zlib-1.2.11.tar.gz > /dev/null 2> /dev/null
valid $? "Error: could not uncompress zlib-1.2.11.tar.gz!"
cd minizip > /dev/null
cd zlib-1.2.11 > /dev/null
valid $? "Error: could not enter minizip!"
./configure --prefix=$TERRALIB_DEPENDENCIES_DIR > /dev/null 2>> ../build.log
valid $? "Error: could not configure minizip!"
make > /dev/null 2>> ../build.log
valid $? "Error: Could not make minizip"
make install > /dev/null 2>> ../build.log
valid $? "Error: Could not install minizip"
cd contrib/minizip > /dev/null
valid $? "Error: could not enter minizip!"
CPPFLAGS=-I$TERRALIB_DEPENDENCIES_DIR/include LDFLAGS=-L$TERRALIB_DEPENDENCIES_DIR/lib ./configure --prefix=$TERRALIB_DEPENDENCIES_DIR > /dev/null 2>> ../build.log
......@@ -790,9 +802,10 @@ if [ ! -f "$TERRALIB_DEPENDENCIES_DIR/lib/libminizip.a" ]; then
make install > /dev/null 2>> ../build.log
valid $? "Error: Could not install minizip"
cd .. > /dev/null
cd ../../.. > /dev/null
fi
#
# Uriparser version 0.8.4
# Site: https://sourceforge.net/projects/uriparser/files/Sources/0.8.4/
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!