diff --git a/bin/openssl-brew-config.bash b/bin/openssl-brew-config.bash index 60c0d58..61aa049 100644 --- a/bin/openssl-brew-config.bash +++ b/bin/openssl-brew-config.bash @@ -1,4 +1,6 @@ #!/bin/bash -export PATH="/usr/local/opt/openssl@1.1/bin:$PATH" -export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" -export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" +if [ "$(uname -s)" = "Darwin" ] ; then + export PATH="/usr/local/opt/openssl@1.1/bin:$PATH" + export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" + export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" +fi