Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
fix() remove dynamic linking
Browse files Browse the repository at this point in the history
  • Loading branch information
immortal-tofu committed Feb 1, 2024
1 parent 3830c46 commit 35448fd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions fhevm/tfhe.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@ 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 -L../tfhe-rs/target/release/deps -l:libtfhe_c_api_dynamic_buffer.a -lm
#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
#cgo darwin LDFLAGS: -framework Security -L../tfhe-rs/target/release/deps -ltfhe_c_api_dynamic_buffer
#cgo darwin LDFLAGS: -framework Security -L../tfhe-rs/target/release -ltfhe -L../tfhe-rs/target/release/deps -ltfhe_c_api_dynamic_buffer -lm
#include <tfhe.h>
Expand Down

0 comments on commit 35448fd

Please sign in to comment.