From 44d0cc2dea1d30bede609c691a2b5d087ac8b5d6 Mon Sep 17 00:00:00 2001 From: cheatfate Date: Sat, 16 Mar 2019 00:56:10 +0200 Subject: [PATCH] Fix undefined reference to `br_ec_c25519_m31'. --- libp2p/crypto/common.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libp2p/crypto/common.nim b/libp2p/crypto/common.nim index 7f5c987f4..8ff9d9006 100644 --- a/libp2p/crypto/common.nim +++ b/libp2p/crypto/common.nim @@ -223,7 +223,9 @@ elif sizeof(int) == 4: {.compile: bearEcPath & "ec_all_m31.c".} {.compile: bearEcPath & "ec_default.c".} {.compile: bearEcPath & "ec_keygen.c".} + {.compile: bearEcPath & "ec_c25519_m31.c".} {.compile: bearEcPath & "ec_p256_m31.c".} + {.compile: bearEcPath & "ec_curve25519.c".} {.compile: bearEcPath & "ec_prime_i31.c".} {.compile: bearEcPath & "ec_pubkey.c".} {.compile: bearEcPath & "ec_secp256r1.c".}