From 2d190d5a3314fbaf97c5c85871449e08f454ec2a Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 25 Nov 2023 12:35:54 -0800 Subject: [PATCH] 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 --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 43705338..f4935e76 100644 --- a/meson.build +++ b/meson.build @@ -359,7 +359,9 @@ pkgconfig.generate( name : 'libalpm', description : 'Arch Linux package management library', version : libalpm_version, - url : 'http://archlinux.org/pacman/') + url : 'http://archlinux.org/pacman/', + extra_cflags: [ '-D_FILE_OFFSET_BITS=64' ], +) pacman_bin = executable( 'pacman',