Skip to content

Commit

Permalink
libfuse/Makefile: support $AR
Browse files Browse the repository at this point in the history
  • Loading branch information
KARBOWSKI Piotr committed Aug 8, 2020
1 parent da07bc9 commit 0bc6711
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libfuse/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ INSTALLBINDIR = $(DESTDIR)$(BINDIR)
INSTALLSBINDIR = $(DESTDIR)$(SBINDIR)
INSTALLMAN1DIR = $(DESTDIR)$(MAN1DIR)

AR ?= ar

SRC = \
lib/buffer.c \
lib/cuse_lowlevel.c \
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 0bc6711

Please sign in to comment.