Browse Source

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 <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>
lilik-openwrt-22.03
Stefan Hellermann 10 years ago
parent
commit
4680f3514b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      utils/btrfs-progs/Makefile

+ 1
- 0
utils/btrfs-progs/Makefile View 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


Loading…
Cancel
Save