mirror of
https://github.com/SELinuxProject/selinux
synced 2025-04-18 21:35:35 +00:00
These subprograms (sublibraries) use plain #include <selinux/selinux.h> cc ... -lselinux ... &c. which includes/links to the system libselinux. Naturally, this doesn't work if you don't have one. All of these fell out of a plain make invocation, yielding errors like cc -O2 -Werror -Wall -Wextra -Wfloat-equal -Wformat=2 -Winit-self -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnull-dereference -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -fno-common -I../include -D_GNU_SOURCE -c -o boolean_record.o boolean_record.c boolean_record.c:26:10: fatal error: selinux/selinux.h: No such file or directory 26 | #include <selinux/selinux.h> | ^~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: Entering directory '/tmp/selinux/policycoreutils/sestatus' cc -O2 -Werror -Wall -Wextra -Wfloat-equal -Wformat=2 -Winit-self -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnull-dereference -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -fno-common -D_FILE_OFFSET_BITS=64 -c -o sestatus.o sestatus.c sestatus.c:12:10: fatal error: selinux/selinux.h: No such file or directory 12 | #include <selinux/selinux.h> | ^~~~~~~~~~~~~~~~~~~ compilation terminated. Signed-off-by: наб <nabijaczleweli@nabijaczleweli.xyz> Acked-by: James Carter <jwcart2@gmail.com> |
||
---|---|---|
.. | ||
audit2allow | ||
chcat | ||
po | ||
semanage | ||
sepolgen | ||
sepolicy | ||
LICENSE | ||
Makefile | ||
VERSION |