Successfully builds boost with limited set of libraries
This commit is contained in:
parent
f376ca6402
commit
1e2497a5ca
|
@ -15,10 +15,11 @@ RUN DEBIAN_FRONTEND=noninteractive apt install -y bash \
|
|||
RUN cd /opt && git clone https://github.com/boostorg/boost.git boost
|
||||
RUN cd /opt/boost && git submodule update --init --recursive
|
||||
|
||||
RUN cd /opt/boost && ./bootstrap.sh
|
||||
RUN cd /opt/boost && ./bootstrap.sh --with-libraries=system,date_time,filesystem,thread
|
||||
|
||||
RUN cd /opt/boost && ./b2 -j4 toolset=emscripten \
|
||||
cflags="-s USE_PTHREADS=1" cxxflags="-s USE_PTHREADS=1" \
|
||||
cflags="-s USE_PTHREADS=1"\
|
||||
cxxflags="-s USE_PTHREADS=1" \
|
||||
--prefix=/opt/libboost \
|
||||
--build-dir=/opt/libboost_build \
|
||||
link=static \
|
||||
|
|
Loading…
Reference in New Issue