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:
parent
2e23126e2a
commit
2d190d5a33
1 changed files with 3 additions and 1 deletions
|
@ -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',
|
||||||
|
|
Loading…
Add table
Reference in a new issue