]> git.codecow.com Git - Monocypher.git/commitdiff
makefile: fix cross-compilation
authorNikolay Korotkiy <sikmir@disroot.org>
Thu, 16 Jun 2022 19:04:36 +0000 (22:04 +0300)
committerLoup Vaillant <github-is-valid@loup-vaillant.fr>
Sun, 19 Jun 2022 09:02:59 +0000 (11:02 +0200)
makefile

index 1c7b1a5749e87f5cccdf254b48cd79d6feeedd8c..cb748482aa62ef593ac45d288bd9a6892fe6adb2 100644 (file)
--- 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 $<` $@