mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-01-25 01:19:08 +00:00
Build Shared Library
Prerequisites
- libblst.a is available in ../../blst/ directory. Follow the instructions in the home README.md.
- JAVA_HOME environment variable is set to a jdk with
include
folder containing jni.
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 ../../src/c_kzg_4844.c ../../blst/libblst.a
Mac-OS
TBC