libassuan: use config flag to specify libgpg-error prefix
This commit is contained in:
parent
19094e72bf
commit
a7d2d7d5e8
@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, gettext, pth, libgpgerror }:
|
||||
{ fetchurl, stdenv, gettext, pth, libgpgerror, buildPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libassuan";
|
||||
@ -12,7 +12,12 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "dev" "info" ];
|
||||
outputBin = "dev"; # libassuan-config
|
||||
|
||||
buildInputs = [ libgpgerror pth gettext];
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
buildInputs = [ pth gettext ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-libgpg-error-prefix=${libgpgerror.dev}"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user