Skip to content

Commit

Permalink
Use shared boost library
Browse files Browse the repository at this point in the history
  • Loading branch information
harrywong committed Jun 4, 2018
1 parent c1a902f commit 8eddda8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ else()
set(no_whole_archive_flag "--no-whole-archive")
endif()

SET( Boost_USE_STATIC_LIBS ON CACHE STRING "ON or OFF" )
SET( Boost_USE_STATIC_LIBS OFF CACHE STRING "ON or OFF" )
IF( WIN32 )
SET(BOOST_ROOT $ENV{BOOST_ROOT})
set(Boost_USE_MULTITHREADED ON)
Expand Down
2 changes: 1 addition & 1 deletion Docker/builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.
&& cd boost_1_67_0 \
&& ./bootstrap.sh --prefix=/usr/local \
&& ./b2 -d0 -j$(nproc) --with-thread --with-date_time --with-system --with-filesystem --with-program_options \
--with-signals --with-serialization --with-chrono --with-test --with-context --with-locale --with-coroutine --with-iostreams toolset=gcc link=static install \
--with-signals --with-serialization --with-chrono --with-test --with-context --with-locale --with-coroutine --with-iostreams toolset=gcc link=shared install \
&& cd .. && rm -rf boost_1_67_0

RUN git clone --depth 1 git://github.com/cryptonomex/secp256k1-zkp \
Expand Down

0 comments on commit 8eddda8

Please sign in to comment.