From 0274a8250422d970e0cafb7cd6a9e8902b1ea166 Mon Sep 17 00:00:00 2001 From: youben11 Date: Wed, 11 Oct 2023 11:03:02 +0100 Subject: [PATCH] build: staticly link tfhe-rs the -L flag was no longer required as it's passed through linker flags we now have to dynamically link with libm (a deps of tfhe-rs) --- fhevm/tfhe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhevm/tfhe.go b/fhevm/tfhe.go index 070bc37..b9ed79a 100644 --- a/fhevm/tfhe.go +++ b/fhevm/tfhe.go @@ -18,7 +18,7 @@ package fhevm /* #cgo CFLAGS: -O3 -I. -#cgo LDFLAGS: -Llib -ltfhe +#cgo LDFLAGS: -l:libtfhe.a -lm #include