From: Nikolay Korotkiy Date: Thu, 16 Jun 2022 19:04:36 +0000 (+0300) Subject: makefile: fix cross-compilation X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=efba642084f714d509a46c24da4cb4deb09638aa;p=Monocypher.git makefile: fix cross-compilation --- diff --git a/makefile b/makefile index 1c7b1a5..cb74848 100644 --- a/makefile +++ b/makefile @@ -131,7 +131,7 @@ ctgrind: ctgrind.out # Monocypher libraries lib/libmonocypher.a: lib/monocypher.o $(LINK_ED25519) - ar cr $@ $^ + $(AR) cr $@ $^ lib/libmonocypher.so: lib/$(SONAME) @mkdir -p $(@D) ln -sf `basename $<` $@