Fix portability problem with ar(1) on macOS.

macOS ar(1) does not support '--'.

Fixes #43, #95, #170.
pull/207/head
Thomas Klausner 12 months ago
parent 856ba8a74b
commit 1e2709c5bf

@ -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

Loading…
Cancel
Save