Skip to content

Commit 9a5c99f

Browse files
committed
fix: correct OpenFHE library names in CGO directives
OpenFHE libraries are named libOPENFHE*.so (all caps OPENFHE), not libOpenFHE*.so (mixed case). Fixed LDFLAGS in: - go/tfhe/context.go - go/ckks/context.go
1 parent 3c03538 commit 9a5c99f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

go/ckks/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ package ckks
1313

1414
/*
1515
#cgo CXXFLAGS: -std=c++17 -O3 -I${SRCDIR}/../../install/include/openfhe -I${SRCDIR}/../../install/include/openfhe/pke -I${SRCDIR}/../../install/include/openfhe/core -I${SRCDIR}/../../install/include/openfhe/binfhe
16-
#cgo LDFLAGS: -L${SRCDIR}/../../install/lib -Wl,-rpath,${SRCDIR}/../../install/lib -lOpenFHEpke -lOpenFHEcore -lOpenFHEbinfhe
16+
#cgo LDFLAGS: -L${SRCDIR}/../../install/lib -Wl,-rpath,${SRCDIR}/../../install/lib -lOPENFHEpke -lOPENFHEcore -lOPENFHEbinfhe
1717
1818
#include <stdlib.h>
1919

go/tfhe/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package tfhe
66

77
/*
88
#cgo CXXFLAGS: -std=c++17 -I${SRCDIR}/../../install/include/openfhe -I${SRCDIR}/../../install/include/openfhe/core -I${SRCDIR}/../../install/include/openfhe/binfhe
9-
#cgo LDFLAGS: -L${SRCDIR}/../../install/lib -Wl,-rpath,${SRCDIR}/../../install/lib -lOpenFHEbinfhe -lOpenFHEcore -lOpenFHEpke
9+
#cgo LDFLAGS: -L${SRCDIR}/../../install/lib -Wl,-rpath,${SRCDIR}/../../install/lib -lOPENFHEbinfhe -lOPENFHEcore -lOPENFHEpke
1010
1111
#include <stdlib.h>
1212

0 commit comments

Comments
 (0)