3
0
Fork 0
forked from mirrors/nixpkgs

glib: fix build for FreeBSD

These same options are disabled in FreeBSD Ports.
This commit is contained in:
Alyssa Ross 2023-01-23 00:30:14 +00:00
parent 252a20d0a5
commit 8e9e08a587

View file

@ -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 [