diff options
Diffstat (limited to 'ci.d/openssl')
-rw-r--r-- | ci.d/openssl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ci.d/openssl b/ci.d/openssl new file mode 100644 index 0000000..0165cc1 --- /dev/null +++ b/ci.d/openssl @@ -0,0 +1,12 @@ +#!/usr/bin/env sh + +# openssl_fix_10 +# +# Setup OpenSSL 1.0 for older Erlang versions. +openssl_fix_10() { + lxc_do mkdir /root/openssl-1.0 + lxc_do ln -s /usr/include/openssl-1.0 /root/openssl-1.0/include + lxc_do ln -s /usr/lib/openssl-1.0 /root/openssl-1.0/lib + echo "lxc.environment = KERL_CONFIGURE_OPTIONS=--with-ssl=/root/openssl-1.0" \ + >> /home/lxc/$NAME/config +} |