wsmancli: fix compilation

Without this the package build fails with a linking error. Fixes #14872.
This commit is contained in:
Robert Helgesson 2016-08-06 10:45:21 +02:00
parent 3c1ec73a61
commit 28f17215b9
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, autoconf, automake, libtool, pkgconfig, openwsman }:
{ fetchurl, stdenv, autoconf, automake, libtool, pkgconfig, openwsman, openssl }:
stdenv.mkDerivation rec {
version = "2.6.0";
@ -9,9 +9,15 @@ stdenv.mkDerivation rec {
sha256 = "03ay6sa4ii8h6rr3l2qiqqml8xl6gplrlg4v2avdh9y6sihfyvvn";
};
buildInputs = [ autoconf automake libtool pkgconfig openwsman ];
buildInputs = [ autoconf automake libtool pkgconfig openwsman openssl ];
preConfigure = "./bootstrap";
preConfigure = ''
./bootstrap
configureFlagsArray=(
LIBS="-L${openssl}/lib -lssl -lcrypto"
)
'';
meta = {
description = "Openwsman command-line client";