Rename library to conform to mono expectations

This commit is contained in:
Dankrad Feist 2022-10-01 18:57:53 +01:00
parent d52981ef6d
commit 7c06987348
No known key found for this signature in database
GPG Key ID: 6815E6A20BEBBABA
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
INCLUDE_DIRS = .. ../../min-src ../../inc 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 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 $@ $^ 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 c_kzg_4844_wrap.c ckzg.cs: ../c_kzg_4844.swg