pugixml: fix pkg-config file installation
This commit is contained in:
parent
8571a669a7
commit
236c7db82c
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, shared ? false }:
|
{ stdenv, fetchFromGitHub, fetchpatch, cmake, shared ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pugixml-${version}";
|
name = "pugixml-${version}";
|
||||||
@ -11,9 +11,17 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0iraznwm78pyyzc9snvd3dyz8gddvmxsm1b3kpw7wixkvcawdviv";
|
sha256 = "0iraznwm78pyyzc9snvd3dyz8gddvmxsm1b3kpw7wixkvcawdviv";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# To be removed after a version newer than 1.9 is released
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/zeux/pugixml/pull/193.patch";
|
||||||
|
sha256 = "0s4anqlr2ppfibxyl29nrqbcprrg89k7il6303dm91s6620ydmka";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=${if shared then "ON" else "OFF"} -DBUILD_PKGCONFIG=ON" ];
|
cmakeFlags = [ "-DBUILD_SHARED_LIBS=${if shared then "ON" else "OFF"}" ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
# Enable long long support (required for filezilla)
|
# Enable long long support (required for filezilla)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user