mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 20:30:53 +00:00
- Fixes https://github.com/termux/termux-packages/issues/544 - Tested and confirmed to make the `busybox ls -Z` command work on SELinux-enabled Samsung Galaxy A70 SM-A705FN with Android 13. Output appears correct, closely matching the output of `coreutils`' `ls -Z` command on the same device for various directories, including `/storage/emulated/0` and `/data/data/com.termux/files/home`
14 lines
460 B
Diff
14 lines
460 B
Diff
diff --git a/Makefile.flags b/Makefile.flags
|
|
index 97cb4dc..b2a4291 100644
|
|
--- a/Makefile.flags
|
|
+++ b/Makefile.flags
|
|
@@ -178,7 +178,7 @@ LDLIBS += pam pam_misc
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SELINUX),y)
|
|
-SELINUX_PC_MODULES = libselinux libsepol
|
|
+SELINUX_PC_MODULES = libandroid-selinux
|
|
$(eval $(call pkg_check_modules,SELINUX,$(SELINUX_PC_MODULES)))
|
|
CPPFLAGS += $(SELINUX_CFLAGS)
|
|
LDLIBS += $(if $(SELINUX_LIBS),$(SELINUX_LIBS:-l%=%),$(SELINUX_PC_MODULES:lib%=%))
|