mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
50629.cross compile libksba (#50649)
* Fix cross-compilation of libksba. This explicitly points libksba configure script at the correct prefix for libgpgerror with dev tools. It also provides a build-system compiler so that the asn1-gentables.c build helper can be compiled and run on the build system.
This commit is contained in:
parent
2c1d3a9a82
commit
dfa36eda92
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, gettext, libgpgerror }:
|
||||
{ buildPackages, stdenv, fetchurl, gettext, libgpgerror }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libksba-1.3.5";
|
||||
@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ gettext ];
|
||||
propagatedBuildInputs = [ libgpgerror ];
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
configureFlags = [ "--with-libgpg-error-prefix=${libgpgerror.dev}" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $dev/bin
|
||||
|
Loading…
Reference in New Issue
Block a user