From 4680f3514b98d971dcba4523215b618f489254b2 Mon Sep 17 00:00:00 2001 From: Stefan Hellermann Date: Mon, 8 Dec 2014 13:37:31 +0100 Subject: [PATCH] btrfs-progs: add libacl as compile time dependency I got following error while compiling btrfs-progs for ar71xx: make[4]: Entering directory `/home/stefan/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/btrfs-progs-v3.17.3' [LN] libbtrfs.so.0 [LN] libbtrfs.so [CC] btrfs-convert.o [LD] libbtrfs.so.0.1 /home/stefan/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libblkid.so: warning: This version of __fpending returns bytes remaining in buffer for both narrow and wide streams. glibc's version returns wide chars in buffer for the wide stream case. [LD] mkfs.btrfs [LD] btrfs [LD] btrfs-debug-tree [LD] btrfs-image [LD] btrfs-map-logical [LD] btrfs-zero-log [LD] btrfs-find-root btrfs-convert.c:30:21: fatal error: sys/acl.h: No such file or directory #include ^ compilation terminated. make[4]: *** [btrfs-convert.o] Error 1 fix it by adding libacl as compile time dependency, as btrfs-convert is not linked to libacl. Signed-off-by: Stefan Hellermann --- utils/btrfs-progs/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/btrfs-progs/Makefile b/utils/btrfs-progs/Makefile index ca7bbc061c..fe51594de4 100644 --- a/utils/btrfs-progs/Makefile +++ b/utils/btrfs-progs/Makefile @@ -22,6 +22,7 @@ PKG_LICENSE_FILES:=COPYING PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 +PKG_BUILD_DEPENDS:=libacl include $(INCLUDE_DIR)/package.mk -- 2.30.2