From 1e2709c5bf326eb1ee8d38bef302984b8e6748cb Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Sat, 28 Sep 2024 10:29:24 +0200 Subject: [PATCH] Fix portability problem with ar(1) on macOS. macOS ar(1) does not support '--'. Fixes #43, #95, #170. --- c/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/Makefile b/c/Makefile index 661b1f7e..286fa7d8 100644 --- a/c/Makefile +++ b/c/Makefile @@ -73,7 +73,7 @@ qrcodegen-test: qrcodegen-test.c $(LIBOBJ:%.o=%.c) # The library $(LIBFILE): $(LIBOBJ) - $(AR) -crs $@ -- $^ + $(AR) -crs $@ $^ # Object files %.o: %.c .deps/timestamp