mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
libconfig: fix static build
the examples are linked dynamically which (obviously) fails if the lib has been built statically
This commit is contained in:
parent
6eb202aa16
commit
9ad40cc7a3
@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
configureFlags = lib.optional stdenv.targetPlatform.isWindows "--disable-examples";
|
||||
configureFlags = lib.optional
|
||||
(stdenv.targetPlatform.isWindows || stdenv.hostPlatform.isStatic)
|
||||
"--disable-examples";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.hyperrealm.com/libconfig";
|
||||
|
Loading…
Reference in New Issue
Block a user