-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,34 @@ | ||
From f9014c924b5dc0083f0aabaf91fcd38be6518b8e Mon Sep 17 00:00:00 2001 | ||
From 5b1ad0fd02016130dcfea5a7e84dcf4de2c67a43 Mon Sep 17 00:00:00 2001 | ||
From: sirse <artiom.tretjakovas2@gmail.com> | ||
Date: Wed, 2 Oct 2024 07:33:45 +0000 | ||
Subject: [PATCH] Patch C# binding | ||
Date: Wed, 23 Oct 2024 11:13:11 +0000 | ||
Subject: [PATCH] Patch C# bindings | ||
|
||
--- | ||
bindings/csharp/Makefile | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
bindings/csharp/Makefile | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/bindings/csharp/Makefile b/bindings/csharp/Makefile | ||
index df1730c..6b5bc2f 100644 | ||
index df1730c..f115db1 100644 | ||
--- a/bindings/csharp/Makefile | ||
+++ b/bindings/csharp/Makefile | ||
@@ -39,7 +39,7 @@ else | ||
endif | ||
|
||
INCLUDE_DIRS = ../../src ../../blst/bindings | ||
-TARGETS = ckzg_wrap.c ../../src/ckzg.c ../../blst/$(BLST_OBJ) | ||
+TARGETS = ckzg_wrap.c ../../lib/librust_kzg_blst.a | ||
+TARGETS = ckzg_wrap.c | ||
|
||
CFLAGS += -O2 -Wall -Wextra -shared | ||
CFLAGS += ${addprefix -I,${INCLUDE_DIRS}} | ||
@@ -58,7 +58,7 @@ blst: | ||
|
||
.PHONY: ckzg | ||
ckzg: blst | ||
- $(CLANG_EXECUTABLE) $(CFLAGS) -o $(CKZG_LIBRARY_PATH) $(TARGETS) | ||
+ $(CLANG_EXECUTABLE) $(CFLAGS) -o $(CKZG_LIBRARY_PATH) $(TARGETS) -L ../../lib -lrust_kzg_blst -u verify_cell_kzg_proof_batch | ||
|
||
.PHONY: ckzg-dotnet | ||
ckzg-dotnet: ckzg | ||
-- | ||
2.46.1 | ||
2.47.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters