Browse Source

btrfs-progs: fix libattr linking and dependency

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 10 years ago
parent
commit
c088105ae2
2 changed files with 12 additions and 1 deletions
  1. +1
    -1
      utils/btrfs-progs/Makefile
  2. +11
    -0
      utils/btrfs-progs/patches/001-fix-xattr-h-include-location.patch

+ 1
- 1
utils/btrfs-progs/Makefile View File

@ -29,7 +29,7 @@ define Package/btrfs-progs
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Filesystem
DEPENDS:=+attr +libuuid +zlib +libext2fs +libblkid +liblzo +libpthread
DEPENDS:=+libattr +libuuid +zlib +libext2fs +libblkid +liblzo +libpthread
TITLE:=Btrfs filesystems utilities
URL:=http://btrfs.wiki.kernel.org/
endef


+ 11
- 0
utils/btrfs-progs/patches/001-fix-xattr-h-include-location.patch View File

@ -42,3 +42,14 @@
#include "ctree.h"
#include "disk-io.h"
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ TESTS = fsck-tests.sh convert-tests.sh
INSTALL = install
prefix ?= /usr/local
bindir = $(prefix)/bin
-lib_LIBS = -luuid -lblkid -lm -lz -llzo2 -L.
+lib_LIBS = -lattr -luuid -lblkid -lm -lz -llzo2 -L.
libdir ?= $(prefix)/lib
incdir = $(prefix)/include/btrfs
LIBS = $(lib_LIBS) $(libs_static)

Loading…
Cancel
Save