gnu: libidn2: Explicitly declare the _FILE_OFFSET_BITS we want.

* gnu/packages/libidn.scm (libidn2)[arguments]<#:phases>[ensure-file-offset-bits-64]:
Explicity declare the _FILE_OFFSET_BITS we want.
This commit is contained in:
Danny Milosavljevic 2020-09-28 09:28:16 +02:00
parent 024bd3e37e
commit dbbe31ee4e
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -74,7 +74,13 @@ (define-public libidn2
`(("libunistring" ,libunistring)))
(build-system gnu-build-system)
(arguments
`(#:configure-flags '("--disable-static")))
`(#:configure-flags '("--disable-static")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'ensure-file-offset-bits-64
(lambda _
(setenv "CFLAGS" "-D_FILE_OFFSET_BITS=64")
#t)))))
(synopsis "Internationalized domain name library for IDNA2008")
(description "Libidn2 is an internationalized domain library implementing
the IDNA2008 specifications. Libidn2 is believed to be a complete IDNA2008