--- libcap-2.22.orig/libcap/Makefile +++ libcap-2.22/libcap/Makefile @@ -16,7 +16,7 @@ FILES=cap_alloc cap_proc cap_extint cap_ # no support). ifeq ($(LIBATTR),yes) FILES += cap_file -LDFLAGS += -lattr +LDFLAGS += endif INCLS=libcap.h cap_names.h $(INCS)