Merge pull request #276145 from mfrischknecht/fix-wolfssl-ustream-ssl
ustream-ssl-wolfssl: add missing openssl dependency
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
{ stdenv, lib, fetchgit, cmake, pkg-config, libubox-nossl, ssl_implementation }:
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchgit
|
||||
, cmake
|
||||
, pkg-config
|
||||
, libubox-nossl
|
||||
, ssl_implementation
|
||||
, additional_buildInputs ? [ ]
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "ustream-ssl";
|
||||
@@ -21,7 +29,7 @@ stdenv.mkDerivation {
|
||||
cmakeFlags = [ "-D${lib.toUpper ssl_implementation.pname}=ON" ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ ssl_implementation ];
|
||||
buildInputs = [ ssl_implementation ] ++ additional_buildInputs;
|
||||
|
||||
passthru = {
|
||||
inherit ssl_implementation;
|
||||
|
||||
@@ -20963,7 +20963,7 @@ with pkgs;
|
||||
|
||||
ustream-ssl = callPackage ../development/libraries/ustream-ssl { ssl_implementation = openssl; };
|
||||
|
||||
ustream-ssl-wolfssl = callPackage ../development/libraries/ustream-ssl { ssl_implementation = wolfssl; };
|
||||
ustream-ssl-wolfssl = callPackage ../development/libraries/ustream-ssl { ssl_implementation = wolfssl; additional_buildInputs = [ openssl ]; };
|
||||
|
||||
ustream-ssl-mbedtls = callPackage ../development/libraries/ustream-ssl { ssl_implementation = mbedtls_2; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user