Add `OPENSSL_DIR` env var to support newer versions of hyper

The hyper 0.9.x build scripts now require this variable to be set.
This commit is contained in:
Eric Kidd 2016-11-19 08:50:55 -05:00
parent 8ac90b66a5
commit 67f9e0c858
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,8 @@ RUN VERS=1.0.2j && \
env C_INCLUDE_PATH=/usr/local/musl/include/ make depend && \
make && sudo make install && \
cd .. && rm -rf openssl-$VERS.tar.gz openssl-$VERS
ENV OPENSSL_INCLUDE_DIR=/usr/local/musl/include/ \
ENV OPENSSL_DIR=/usr/local/musl/ \
OPENSSL_INCLUDE_DIR=/usr/local/musl/include/ \
DEP_OPENSSL_INCLUDE=/usr/local/musl/include/ \
OPENSSL_LIB_DIR=/usr/local/musl/lib/ \
OPENSSL_STATIC=1