Skip to contentSkip to conversation

btrfs-progs: fix btrfs-fragments build

PATCH New Eric Sandeen 1 participant 1 message May 30, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 btrfs-progs: fix btrfs-fragments build

When I made all the btrfs-foo.c targets generic, I somehow managed to break the libs definition for btrfs-fragments by dropping the "s" off the end.

Fix that, although apparently nobody is building this tool. :)

---

As an aside, since it's not built by default, it seems at-risk for this kind of bitrot...

Makefile +1 -1
index 76565e8..037a1c4 100644
@@ -54,7 +54,7 @@ progs = mkfs.btrfs btrfs-debug-tree btrfsck \
 # specify btrfs_foo_libs = <list of libs>; see $($(subst...)) rules below
 btrfs_convert_libs = -lext2fs -lcom_err
 btrfs_image_libs = -lpthread
-btrfs_fragment_libs = -lgd -lpng -ljpeg -lfreetype
+btrfs_fragments_libs = -lgd -lpng -ljpeg -lfreetype
 
 SUBDIRS =
 BUILDDIRS = $(patsubst %,build-%,$(SUBDIRS)) build-Documentation