mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-07 23:04:00 +01:00
tzdata: fix build on mingw (#489926)
This commit is contained in:
commit
d993e3b281
1 changed files with 5 additions and 0 deletions
|
|
@ -53,7 +53,12 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isWindows [
|
||||
"CFLAGS+=-DHAVE_DIRECT_H"
|
||||
"CFLAGS+=-DHAVE_FCHMOD=0"
|
||||
"CFLAGS+=-DHAVE_GETEUID=0"
|
||||
"CFLAGS+=-DHAVE_GETRESUID=0"
|
||||
"CFLAGS+=-DHAVE_MEMPCPY=1"
|
||||
"CFLAGS+=-DHAVE_SETENV=0"
|
||||
"CFLAGS+=-DHAVE_STRUCT_STAT_ST_CTIM=0"
|
||||
"CFLAGS+=-DHAVE_SYMLINK=0"
|
||||
"CFLAGS+=-DRESERVE_STD_EXT_IDS"
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue