--- xfsprogs-4.11.0.orig/quota/Makefile	2017-05-05 20:47:11.000000000 +0200
+++ xfsprogs-4.11.0/quota/Makefile	2017-06-03 20:57:53.306759013 +0200
@@ -14,8 +14,8 @@ CFILES += $(PKG_PLATFORM).c
 PCFILES = darwin.c freebsd.c irix.c linux.c
 LSRCFILES = $(shell echo $(PCFILES) | sed -e "s/$(PKG_PLATFORM).c//g")
 
-LLDLIBS = $(LIBXCMD)
-LTDEPENDENCIES = $(LIBXCMD)
+LLDLIBS = $(LIBXFS) $(LIBXCMD)
+LTDEPENDENCIES = $(LIBXFS) $(LIBXCMD)
 LLDFLAGS = -static
 
 ifeq ($(ENABLE_READLINE),yes)
