From 7c0698734835656cdb6f644cc24553456b181781 Mon Sep 17 00:00:00 2001 From: Dankrad Feist Date: Sat, 1 Oct 2022 18:57:53 +0100 Subject: [PATCH] Rename library to conform to mono expectations --- min-bindings/C#/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/min-bindings/C#/Makefile b/min-bindings/C#/Makefile index 5a8d143..ba51c60 100644 --- a/min-bindings/C#/Makefile +++ b/min-bindings/C#/Makefile @@ -1,10 +1,10 @@ INCLUDE_DIRS = .. ../../min-src ../../inc -test: tests.cs ckzg.dll.so +test: tests.cs libckzg.so mcs -langversion:5 -optimize+ tests.cs ckzg.cs -r:System.Numerics.dll - ./tests.exe + mono tests.exe -ckzg.dll.so: c_kzg_4844_wrap.c ../../min-src/c_kzg_4844.o ../../lib/libblst.a +libckzg.so: c_kzg_4844_wrap.c ../../min-src/c_kzg_4844.o ../../lib/libblst.a clang -O -Wall -shared -fPIC -Wl,-Bsymbolic -I${INCLUDE_PY} ${addprefix -I,${INCLUDE_DIRS}} -o $@ $^ c_kzg_4844_wrap.c ckzg.cs: ../c_kzg_4844.swg