mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-16 19:05:27 -04:00
+ deletion (deprecated)
This commit is contained in:
parent
be2f4dbb79
commit
4d0f6c5d93
13
compile.sh
13
compile.sh
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Compile the JNI class, this will create JNIKiwix.class
|
|
||||||
javac JNIKiwix.java
|
|
||||||
|
|
||||||
# Create the JNI header file, this will create JNIKiwix.h
|
|
||||||
javah -jni JNIKiwix
|
|
||||||
|
|
||||||
# Compile the native lib libkiwix.so
|
|
||||||
g++ -shared -fpic -o libkiwix.so -I/usr/lib/jvm/java-7-openjdk-i386/include/ kiwix.c
|
|
||||||
|
|
||||||
# Run the code
|
|
||||||
java -Djava.library.path=./ JNIKiwix
|
|
Loading…
x
Reference in New Issue
Block a user