From c558186499f7a434194cf0e5ceaf764db1efb385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Thu, 6 Jul 2023 16:18:01 +0200 Subject: [PATCH] setsebool: drop unnecessary linking against libsepol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit setsebool does not directly use any symbols from libsepol. Any transitional ones, via libsemanage, are available by linking against libsemanage. Signed-off-by: Christian Göttsche Acked-by: James Carter --- policycoreutils/setsebool/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policycoreutils/setsebool/Makefile b/policycoreutils/setsebool/Makefile index 4b55046c..c1440c1c 100644 --- a/policycoreutils/setsebool/Makefile +++ b/policycoreutils/setsebool/Makefile @@ -6,7 +6,7 @@ MANDIR = $(PREFIX)/share/man BASHCOMPLETIONDIR ?= $(PREFIX)/share/bash-completion/completions CFLAGS ?= -Werror -Wall -W -override LDLIBS += -lsepol -lselinux -lsemanage +override LDLIBS += -lselinux -lsemanage SETSEBOOL_OBJS = setsebool.o BASHCOMPLETIONS=setsebool-bash-completion.sh