forked from mirrors/nixpkgs
glib: fix build for FreeBSD
These same options are disabled in FreeBSD Ports.
This commit is contained in:
parent
252a20d0a5
commit
8e9e08a587
|
@ -188,6 +188,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
"-Ddevbindir=${placeholder "dev"}/bin"
|
||||
] ++ lib.optionals (!stdenv.isDarwin) [
|
||||
"-Dman=true" # broken on Darwin
|
||||
] ++ lib.optionals stdenv.isFreeBSD [
|
||||
"-Db_lundef=false"
|
||||
"-Dxattr=false"
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = toString [
|
||||
|
|
Loading…
Reference in a new issue