capstone: fix pkgconfig file generation (#21897)

This commit is contained in:
Sven Slootweg 2017-01-15 00:45:52 +01:00 committed by zimbatm
parent 2ab883c9da
commit eedd562f76

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, bash }: { stdenv, fetchurl, bash, pkgconfig }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "capstone-${version}"; name = "capstone-${version}";
@ -12,6 +12,10 @@ stdenv.mkDerivation rec {
configurePhase = '' patchShebangs make.sh ''; configurePhase = '' patchShebangs make.sh '';
buildPhase = '' ./make.sh ''; buildPhase = '' ./make.sh '';
installPhase = '' env PREFIX=$out ./make.sh install ''; installPhase = '' env PREFIX=$out ./make.sh install '';
nativeBuildInputs = [
pkgconfig
];
enableParallelBuilding = true; enableParallelBuilding = true;