void-packages/srcpkgs/libselinux/patches/fts.patch

14 lines
393 B
Diff

diff --git utils/Makefile utils/Makefile
index 3615063..3c1be17 100644
--- utils/Makefile
+++ utils/Makefile
@@ -47,6 +47,8 @@ override CFLAGS += -I../include -D_GNU_SOURCE $(DISABLE_FLAGS) $(PCRE_CFLAGS)
override LDFLAGS += -L../src
override LDLIBS += -lselinux
PCRE_LDLIBS ?= -lpcre
+FTS_LDLIBS ?=
+override LDLIBS += $(FTS_LDLIBS)
ifeq ($(ANDROID_HOST),y)
TARGETS=sefcontext_compile