libconfig: fix cross-compile to windows
This commit is contained in:
parent
bb9d0c3038
commit
951704afaf
|
@ -11,11 +11,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
configureFlags = lib.optional stdenv.targetPlatform.isWindows "--disable-examples";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://www.hyperrealm.com/libconfig";
|
homepage = "http://www.hyperrealm.com/libconfig";
|
||||||
description = "A simple library for processing structured configuration files";
|
description = "A simple library for processing structured configuration files";
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3;
|
||||||
maintainers = [ maintainers.goibhniu ];
|
maintainers = [ maintainers.goibhniu ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = with platforms; linux ++ darwin ++ windows;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue