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

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

jbigi: Add support for SunOS/Nexenta/Solaris to the build*.sh scripts

parent 60204fef
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,8 @@
case `uname -sr` in
MINGW*)
echo "Building windows .dlls for all architectures";;
SunOS*)
echo "Building solaris .sos for all architectures";;
Linux*)
echo "Building linux .sos for all architectures";;
FreeBSD*)
......@@ -32,6 +34,8 @@ do
case `uname -sr` in
MINGW*)
cp jbigi.dll ../../lib/net/i2p/util/jbigi-windows-$x.dll;;
SunOS*)
cp libjbigi.so ../../lib/net/i2p/util/libjbigi-solaris-$x.so;;
Linux*)
cp libjbigi.so ../../lib/net/i2p/util/libjbigi-linux-$x.so;;
FreeBSD*)
......
......@@ -24,6 +24,11 @@ Darwin*)
INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include"
LINKFLAGS="-dynamiclib -framework JavaVM"
LIBFILE="libjbigi.jnilib";;
SunOS*)
COMPILEFLAGS="-fPIC -Wall"
INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/solaris"
LINKFLAGS="-shared -Wl,-soname,libjbigi.so"
LIBFILE="libjbigi.so";;
*)
COMPILEFLAGS="-fPIC -Wall"
INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/linux"
......
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