A rebuild of all binaries is now forced

This commit is contained in:
Richard Larkin 2014-05-08 10:13:16 +02:00
parent a07f830ed7
commit 6f4e0b476d

View file

@ -17,9 +17,7 @@ fi
# Build the required binaries
if [ -d $TMPROOT/openssl/ios-openssl ] ; then
echo "ios-openssl repo found. Looking for binary..."
if [ ! -e $TMPROOT/openssl/ios-openssl/lib/libssl.a ] ; then
echo "Binary not found. Building..."
echo "ios-openssl repo found. Building now..."
if [ ! -d $TMPROOT/openssl/ios-openssl/lib ] ; then
try mkdir $TMPROOT/openssl/ios-openssl/lib
fi
@ -28,14 +26,8 @@ if [ -d $TMPROOT/openssl/ios-openssl ] ; then
# Please refer to the script below for details of the OpenSSL build
sh build.sh
try popd
else
echo "Binaries found. Skipping build..."
fi
fi
# Copy the binaries to the appropriate places.
if [ $TMPROOT/openssl/ios-openssl/lib/libssl.a ] ; then
echo "Copying built OpenSSL binaries..."
cp $TMPROOT/openssl/ios-openssl/lib/libssl.a $BUILDROOT/lib/libssl.a
cp $TMPROOT/openssl/ios-openssl/lib/libcrypto.a $BUILDROOT/lib/libcrypto.a
fi