mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
base: CMake use openssl.
This commit is contained in:
parent
62eeb8e865
commit
08b4040d80
@ -11,6 +11,7 @@ RUN apt-get update && apt-get -y install \
|
||||
file \
|
||||
git \
|
||||
gzip \
|
||||
libcurl4-openssl-dev \
|
||||
libssl-dev \
|
||||
make \
|
||||
ncurses-dev \
|
||||
@ -33,7 +34,10 @@ WORKDIR /usr/src/CMake-build
|
||||
RUN /usr/src/CMake/bootstrap \
|
||||
--parallel=$(nproc) \
|
||||
--prefix=/usr && \
|
||||
make -j$(nproc) install && \
|
||||
make -j$(nproc) && \
|
||||
./bin/cmake -DCMAKE_USE_SYSTEM_CURL:BOOL=ON \
|
||||
-DCMAKE_USE_OPENSSL:BOOL=ON . && \
|
||||
make install && \
|
||||
rm -rf *
|
||||
WORKDIR /usr/src
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user