meson.build: add _FILE_OFFSET_BITS to pkgconfig

Meson automatically sets _FILE_OFFSET_BITS but that value was not
getting carried through to the libalpm pkgconfig file, breaking
downstream projects that relied on it.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
This commit is contained in:
Andrew Gregory 2023-11-25 12:35:54 -08:00
parent 2e23126e2a
commit 2d190d5a33

View file

@ -359,7 +359,9 @@ pkgconfig.generate(
name : 'libalpm', name : 'libalpm',
description : 'Arch Linux package management library', description : 'Arch Linux package management library',
version : libalpm_version, version : libalpm_version,
url : 'http://archlinux.org/pacman/') url : 'http://archlinux.org/pacman/',
extra_cflags: [ '-D_FILE_OFFSET_BITS=64' ],
)
pacman_bin = executable( pacman_bin = executable(
'pacman', 'pacman',