p11-kit: Add libtasn1 to nativeBuildInputs

For cross platform builds, p11-kit, libtasn1 in nativeBuildInputs
provides the asn1Parser binary on the hostPlatform needed for building.
At the same time, libtasn1 in buildInputs provides the libasn1 library
to link against for the target platform.
Hence, libtasn1 is required in both native and build inputs.
gstqt5
Christian Kampka 2020-08-31 21:28:42 +02:00
parent f02984aace
commit ca48f0cfa4
No known key found for this signature in database
GPG Key ID: B88E140DB4FE1AA5
1 changed files with 6 additions and 1 deletions

View File

@ -16,7 +16,12 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev"];
outputBin = "dev";
nativeBuildInputs = [ autoreconfHook pkgconfig which ];
# for cross platform builds of p11-kit, libtasn1 in nativeBuildInputs
# provides the asn1Parser binary on the hostPlatform needed for building.
# at the same time, libtasn1 in buildInputs provides the libasn1 library
# to link against for the target platform.
# hence, libtasn1 is required in both native and build inputs.
nativeBuildInputs = [ autoreconfHook pkgconfig which libtasn1 ];
buildInputs = [ gettext libffi libiconv libtasn1 ];
autoreconfPhase = ''