python3-libselinux: fix compilation with musl 1.2.4
authorTianling Shen <cnsztl@immortalwrt.org>
Fri, 19 May 2023 13:45:21 +0000 (21:45 +0800)
committerTianling Shen <cnsztl@gmail.com>
Sat, 20 May 2023 05:07:15 +0000 (13:07 +0800)
commit577679a5728a17cc6633c4c5cd223d48ab7c3624
treedb3fede0fb726fcfcf5eb17f03cac4aacb30a65e
parent3b14d2569864a221c0e44610406ef73b045eb854
python3-libselinux: fix compilation with musl 1.2.4

musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
lang/python/python3-libselinux/Makefile