Changeset 455b552


Ignore:
Timestamp:
May 31, 2011 7:37:29 PM (9 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
3677cad
Parents:
60204fe
Message:

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

Location:
core/c/jbigi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • core/c/jbigi/build-all.sh

    r60204fe r455b552  
    44MINGW*)
    55        echo "Building windows .dlls for all architectures";;
     6SunOS*)
     7        echo "Building solaris .sos for all architectures";;
    68Linux*)
    79        echo "Building linux .sos for all architectures";;
     
    3335        MINGW*)
    3436                cp jbigi.dll ../../lib/net/i2p/util/jbigi-windows-$x.dll;;
     37        SunOS*)
     38                cp libjbigi.so ../../lib/net/i2p/util/libjbigi-solaris-$x.so;;
    3539        Linux*)
    3640                cp libjbigi.so ../../lib/net/i2p/util/libjbigi-linux-$x.so;;
  • core/c/jbigi/build_jbigi.sh

    r60204fe r455b552  
    2525        LINKFLAGS="-dynamiclib -framework JavaVM"
    2626        LIBFILE="libjbigi.jnilib";;
     27SunOS*)
     28        COMPILEFLAGS="-fPIC -Wall"
     29        INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/solaris"
     30        LINKFLAGS="-shared -Wl,-soname,libjbigi.so"
     31        LIBFILE="libjbigi.so";;
    2732*)
    2833        COMPILEFLAGS="-fPIC -Wall"
Note: See TracChangeset for help on using the changeset viewer.