diff --git a/libsecp256k1 b/libsecp256k1 new file mode 120000 index 0000000..1d82b14 --- /dev/null +++ b/libsecp256k1 @@ -0,0 +1 @@ +/home/fiatjaf/comp/secp256k1 \ No newline at end of file diff --git a/signature_libsecp256k1.go b/signature_libsecp256k1.go index bf5ed7c..ccfbbef 100644 --- a/signature_libsecp256k1.go +++ b/signature_libsecp256k1.go @@ -3,10 +3,12 @@ package nostr /* -#cgo LDFLAGS: -lsecp256k1 -#include -#include -#include +#include "./libsecp256k1/src/secp256k1.c" +#include "./libsecp256k1/src/modules/extrakeys/main_impl.h" +#include "./libsecp256k1/src/modules/schnorrsig/main_impl.h" +#include "./libsecp256k1/include/secp256k1.h" +#include "./libsecp256k1/include/secp256k1_schnorrsig.h" +#include "./libsecp256k1/include/secp256k1_extrakeys.h" */ import "C"