mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-02-17 04:27:08 +00:00
Build Shared Library
Prerequisites
- Follow the instructions in the README.md to install blst and C-KZG.
- JAVA_HOME environment variable is set to a JDK with an
include
folder containing a jni.h file.
Windows
TBC
Linux
clang -O -Wall -shared -fPIC -I../../blst/bindings -I../../src/ -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux -o lib/libckzg4844jni.so c_kzg_4844_jni.c c_kzg_4844.o ../../lib/libblst.a
Mac-OS
TBC