libfuse/Makefile: support $AR

This commit is contained in:
KARBOWSKI Piotr 2020-08-08 22:03:28 +02:00
parent da07bc9637
commit 0bc6711a95

View File

@ -29,6 +29,8 @@ INSTALLBINDIR = $(DESTDIR)$(BINDIR)
INSTALLSBINDIR = $(DESTDIR)$(SBINDIR)
INSTALLMAN1DIR = $(DESTDIR)$(MAN1DIR)
AR ?= ar
SRC = \
lib/buffer.c \
lib/cuse_lowlevel.c \
@ -78,7 +80,7 @@ objects: build/config.h
$(MAKE) $(OBJS)
build/libfuse.a: objects
ar rcs build/libfuse.a $(OBJS)
${AR} rcs build/libfuse.a $(OBJS)
utils: mergerfs-fusermount mount.mergerfs