diff options
Diffstat (limited to 'openssl/test/build.sh')
| -rwxr-xr-x | openssl/test/build.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/openssl/test/build.sh b/openssl/test/build.sh index 2cbfb61a..b901d29e 100755 --- a/openssl/test/build.sh +++ b/openssl/test/build.sh @@ -1,13 +1,17 @@ #!/bin/bash set -e -if [ $TRAVIS_OS_NAME -eq "osx" ]; then +if [ $TRAVIS_OS_NAME == "osx" ]; then exit 0 fi +if [ $TARGET != "" ]; then + FLAGS="os/compiler=$TARGET-" +fi + mkdir /tmp/openssl cd /tmp/openssl curl https://openssl.org/source/openssl-1.0.2e.tar.gz | tar --strip-components=1 -xzf - -./config --prefix=$HOME/openssl shared +./config --prefix=$HOME/openssl shared $FLAGS make make install |