Build flags for python-selinux

Philip Prindeville philipp_subx at redfish-solutions.com
Sun Jun 21 15:09:29 PDT 2026


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?

Also, it doesn't seem that this package has a direct dependency on libfts... though it uses libselinux which does.


More information about the openwrt-devel mailing list