changeset 442:5e6b1240684c

shell.d: add script to set some environment variables for openssl
author Augie Fackler <raf@durin42.com>
date Sat, 15 Jul 2017 13:00:27 -0400
parents b8c4f6299843
children eff0298b770d
files .shell.d/99.openssl.sh
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/.shell.d/99.openssl.sh
@@ -0,0 +1,5 @@
+if hash brew 2>/dev/null ; then
+    export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include
+    export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib
+    export DEP_OPENSSL_INCLUDE=`brew --prefix openssl`/include
+fi