setsebool: drop unnecessary linking against libsepol

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 <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
This commit is contained in:
Christian Göttsche 2023-07-06 16:18:01 +02:00 committed by James Carter
parent 4c6a339eee
commit c558186499
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ MANDIR = $(PREFIX)/share/man
BASHCOMPLETIONDIR ?= $(PREFIX)/share/bash-completion/completions BASHCOMPLETIONDIR ?= $(PREFIX)/share/bash-completion/completions
CFLAGS ?= -Werror -Wall -W CFLAGS ?= -Werror -Wall -W
override LDLIBS += -lsepol -lselinux -lsemanage override LDLIBS += -lselinux -lsemanage
SETSEBOOL_OBJS = setsebool.o SETSEBOOL_OBJS = setsebool.o
BASHCOMPLETIONS=setsebool-bash-completion.sh BASHCOMPLETIONS=setsebool-bash-completion.sh