cpp-netlib: propagate asio.

See cpp-netlib/cpp-netlib#629
This commit is contained in:
Shea Levy 2016-10-06 18:18:18 -04:00
parent 3f7d2f72e7
commit 874411c0e3

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, boost, openssl }: { stdenv, fetchurl, cmake, boost, openssl, asio }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cpp-netlib-${version}"; name = "cpp-netlib-${version}";
@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
buildInputs = [ cmake boost openssl ]; buildInputs = [ cmake boost openssl ];
# This can be removed when updating to 0.13, see https://github.com/cpp-netlib/cpp-netlib/issues/629
propagatedBuildInputs = [ asio ];
cmakeFlags = [ cmakeFlags = [
"-DCPP-NETLIB_BUILD_SHARED_LIBS=ON" "-DCPP-NETLIB_BUILD_SHARED_LIBS=ON"
]; ];