From cc29912fcbde997ef710a34fe3d52bb17bd67462 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 19 Apr 2020 22:50:56 -0400 Subject: Add macos --- .circleci/runtime.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .circleci/runtime.sh (limited to '.circleci/runtime.sh') diff --git a/.circleci/runtime.sh b/.circleci/runtime.sh new file mode 100644 index 0000000..0b41b9c --- /dev/null +++ b/.circleci/runtime.sh @@ -0,0 +1,15 @@ +if [[ $(uname -s) == Linux ]]; then + : +elif [[ $(uname -s) == Darwin ]]; then + OPENSSL_DIR=/usr/local/opt/openssl + PATH="$OPENSSL_DIR/bin:$PATH" + LDFLAGS="$LDFLAGS -L${OPENSSL_DIR}/lib" + CFLAGS="$CFLAGS -I${OPENSSL_DIR}/include" + + GTAR_DIR=/usr/local/opt/gnu-tar + PATH="$GTAR_DIR/libexec/gnubin:$PATH" + + export PATH + export LDFLAGS + export CFLAGS +fi -- cgit