Attempt to fix Mac build on travis.

This commit is contained in:
Roger A. Light 2018-09-25 12:11:03 +01:00
parent e3b4bd8937
commit e3bfb1795e

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
if [ "$TRAVIS_OS_NAME" == "osx" ]; then if [ "$TRAVIS_OS_NAME" == "osx" ]; then
export CFLAGS="-I/usr/local/opt/openssl/include $CFLAGS"
export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"
cmake . cmake .
fi fi