From: Harmen Stoppels Date: Tue, 25 Oct 2022 02:47:20 +0000 (+0200) Subject: Add c flag when invoking ar (#241) X-Git-Tag: archive/raspbian/2.11.3-2+rpi1^2~10^2~1^2~28 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1f1e42d3b8f77d26aa206734bcb33d3251548652;p=utf8proc.git Add c flag when invoking ar (#241) `llvm-ar` warns when the archive does not exist and `c` is not passed. --- diff --git a/Makefile b/Makefile index 467a77a..1e5d398 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,7 @@ utf8proc.o: utf8proc.h utf8proc.c utf8proc_data.c libutf8proc.a: utf8proc.o rm -f libutf8proc.a - $(AR) rs libutf8proc.a utf8proc.o + $(AR) crs libutf8proc.a utf8proc.o libutf8proc.so.$(MAJOR).$(MINOR).$(PATCH): utf8proc.o $(CC) $(LDFLAGS) $(LDFLAG_SHARED) -o $@ $(SOFLAG) -Wl,libutf8proc.so.$(MAJOR) utf8proc.o