From 2c7685229de5d771770c3c1bd28f61f32ab466b9 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Thu, 22 Jun 2023 20:36:20 +0200 Subject: [PATCH] fix compilation on Linux: add threads Signed-off-by: Csaba Kiraly --- config.nims | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.nims b/config.nims index dcbca39..efde38f 100644 --- a/config.nims +++ b/config.nims @@ -3,3 +3,6 @@ switch("define", "libp2p_pki_schemes=secp256k1") when fileExists("nimble.paths"): include "nimble.paths" # end Nimble config + +# required on Linux for pthreads +--threads:on