btrfs-progs: build btrfs.static needs libbtrfsutil to build
authorBaruch Siach <baruch@tkos.co.il>
Tue, 10 Apr 2018 20:03:41 +0000 (23:03 +0300)
committerDavid Sterba <dsterba@suse.com>
Tue, 24 Apr 2018 11:00:12 +0000 (13:00 +0200)
commitcc66055f97ef7ecdd77b18487b5c32f8334b8c8b
treeaab79471b4299e17ed5793f4a9ba05dabb620c44
parent3491d6277886ddc55643a133d0ebf05a4e0053ed
btrfs-progs: build btrfs.static needs libbtrfsutil to build

Add libbtrfsutil objects to btrfs.static link command. This fixes static
build failure:

utils.static.o: In function `parse_qgroupid':
utils.c:(.text.parse_qgroupid+0xb0): undefined reference to `btrfs_util_is_subvolume'
props.static.o: In function `prop_read_only':
props.c:(.text.prop_read_only+0x70): undefined reference to `btrfs_util_set_subvolume_read_only'
...
Makefile:457: recipe for target 'btrfs.static' failed
make[1]: *** [btrfs.static] Error 1

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: David Sterba <dsterba@suse.com>
Makefile