From dc765c41a4b62d2f61a798f1ebd230cba0d946ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Thu, 1 Feb 2024 10:22:49 +0100 Subject: [PATCH] fix() remove dynamic linking --- fhevm/tfhe.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhevm/tfhe.go b/fhevm/tfhe.go index 52e9d23..33814db 100644 --- a/fhevm/tfhe.go +++ b/fhevm/tfhe.go @@ -19,8 +19,8 @@ package fhevm /* #cgo linux CFLAGS: -O3 -I../tfhe-rs/target/release #cgo linux CFLAGS: -O3 -I../tfhe-rs/target/release/deps -#cgo linux LDFLAGS: -L../tfhe-rs/target/release -ltfhe -lm -#cgo linux LDFLAGS: -L../tfhe-rs/target/release/deps -ltfhe_c_api_dynamic_buffer +#cgo linux LDFLAGS: -L../tfhe-rs/target/release -l:libtfhe.a -lm +#cgo linux LDFLAGS: -L../tfhe-rs/target/release/deps -l:libtfhe_c_api_dynamic_buffer.a #cgo darwin CFLAGS: -O3 -I../tfhe-rs/target/release #cgo darwin CFLAGS: -O3 -I../tfhe-rs/target/release/deps #cgo darwin LDFLAGS: -framework Security -L../tfhe-rs/target/release -ltfhe -lm