I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit c9c35a3e authored by kytv's avatar kytv
Browse files

jcpuid: minor edits so that compilation will work with Debian kFreeBSD

parent e0dd52a4
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,8 @@ Linux*)
echo "Building linux .so's";;
FreeBSD*)
echo "Building freebsd .so's";;
*kFreeBSD*)
echo "Building kFreebsd .so's";;
*)
echo "Unsupported build environment"
exit;;
......@@ -34,7 +36,7 @@ FreeBSD*)
INCLUDES="-I. -Iinclude -I$JAVA_HOME/include/ -I$JAVA_HOME/include/freebsd/"
LINKFLAGS="-shared -static -Wl,-soname,libjcpuid-x86-freebsd.so"
LIBFILE="lib/freenet/support/CPUInformation/libjcpuid-x86-freebsd.so";;
Linux*)
*kFreeBSD*|Linux*)
COMPILEFLAGS="-fPIC -Wall"
INCLUDES="-I. -Iinclude -I$JAVA_HOME/include -I$JAVA_HOME/include/linux"
LINKFLAGS="-shared -Wl,-soname,libjcpuid-x86-linux.so"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment