solc: make sure to use dynamic Boost libs

For some reason the default options enable static Boost libs on Darwin,
but that doesn't work for us.
This commit is contained in:
Mikael Brockman 2017-07-10 17:10:45 +03:00 committed by Daniel Brockman
parent 6dcba74af6
commit 442d04d1dd

View File

@ -27,6 +27,9 @@ stdenv.mkDerivation {
--replace '${jsoncppURL}' ${jsoncpp}
substituteInPlace cmake/EthCompilerSettings.cmake \
--replace 'add_compile_options(-Werror)' ""
substituteInPlace cmake/EthDependencies.cmake \
--replace 'set(Boost_USE_STATIC_LIBS ON)' \
'set(Boost_USE_STATIC_LIBS OFF)'
'';
buildInputs = [ boost cmake ];