diff --git a/Common/3dParty/openssl/build.sh b/Common/3dParty/openssl/build.sh index 29f47b2032..0a6ad97ca0 100755 --- a/Common/3dParty/openssl/build.sh +++ b/Common/3dParty/openssl/build.sh @@ -29,6 +29,9 @@ fi echo "$platform$arch" -perl ./Configure $platform$arch -./config +if [ ! -f Makefile ]; then + perl ./Configure $platform$arch + ./config +fi + make diff --git a/Common/3dParty/openssl/fetch.sh b/Common/3dParty/openssl/fetch.sh index 400bb0a794..f31e20b980 100755 --- a/Common/3dParty/openssl/fetch.sh +++ b/Common/3dParty/openssl/fetch.sh @@ -5,4 +5,6 @@ SCRIPTPATH=$(dirname "$SCRIPT") cd "$SCRIPTPATH" -git clone https://github.com/openssl/openssl.git +if [ ! -d openssl ]; then + git clone https://github.com/openssl/openssl.git +fi