Skip to content

Commit

Permalink
build: staticly link tfhe-rs
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
youben11 committed Oct 11, 2023
1 parent 89da636 commit 0274a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fhevm/tfhe.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package fhevm

/*
#cgo CFLAGS: -O3 -I.
#cgo LDFLAGS: -Llib -ltfhe
#cgo LDFLAGS: -l:libtfhe.a -lm
#include <tfhe.h>
Expand Down

0 comments on commit 0274a82

Please sign in to comment.