btrfs-progs: add libacl as compile time dependency 611/head
authorStefan Hellermann <stefan@the2masters.de>
Mon, 8 Dec 2014 12:37:31 +0000 (13:37 +0100)
committerStefan Hellermann <stefan@the2masters.de>
Mon, 8 Dec 2014 12:37:31 +0000 (13:37 +0100)
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 <sys/acl.h>
                         ^
    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 <stefan@the2masters.de>
utils/btrfs-progs/Makefile

index ca7bbc061c6046284e3c43a149ce66fac96d1c39..fe51594de44c5636a13ec7522a542b8fa6254444 100644 (file)
@@ -22,6 +22,7 @@ PKG_LICENSE_FILES:=COPYING
 
 PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
+PKG_BUILD_DEPENDS:=libacl
 
 include $(INCLUDE_DIR)/package.mk