Build flags for python-selinux

Rosen Penev rosenp at gmail.com
Sun Jun 21 17:33:42 PDT 2026


On Sun, Jun 21, 2026 at 4:46 PM Philip Prindeville via openwrt-devel
<openwrt-devel at lists.openwrt.org> wrote:
>
> The sender domain has a DMARC Reject/Quarantine policy which disallows
> sending mailing list messages using the original "From" header.
>
> To mitigate this problem, the original message has been wrapped
> automatically by the mailing list software.
>
>
> ---------- Forwarded message ----------
> From: Philip Prindeville <philipp_subx at redfish-solutions.com>
> To: openwrt-devel <openwrt-devel at lists.openwrt.org>
> Cc:
> Bcc:
> Date: Sun, 21 Jun 2026 16:09:29 -0600
> Subject: Build flags for python-selinux
> Looking at its Makefile, I see:
>
> ifneq ($(CONFIG_USE_MUSL),)
>   MAKE_FLAGS += FTS_LDLIBS=-lfts
>   TARGET_CFLAGS += -D_LARGEFILE64_SOURCE
> endif
>
> Anyone know why -D_LARGEFILE64_SOURCE isn't invariant?  Why just with MUSL?
Because of a musl change, it needed _LARGEFILE64_SOURCE defined. glibc
either already does or doesn't need it.
>
> Also, it doesn't seem that this package has a direct dependency on libfts... though it uses libselinux which does.
Depends on whether libfts is linked statically or not I think.
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list