Ignore:
Timestamp:
May 12, 2013 12:08:52 AM (8 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
b096834
Parents:
dca5e98
Message:

improvements to jbigi scripts

support for Solaris (tested with Solaris 11 x86)

mbuild-all.sh:

  • output correctly formatted file names (tested in Solaris x86, FreeBSD (x86 and x64) and Linux (x86 & x64))
  • switch from echo -e to the more portable printf
  • more error checking, comments

debian/patches: refreshed based on changes to core/c/*
libjcpuid-x86_64-solaris.so: built in solaris 11 x86 with

java 1.7.0_07 and gcc 4.5.2, stripped

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/c/jbigi/build_jbigi.sh

    rdca5e98 rc1da7f7  
    33# When executed in Linux/FreeBSD: Produces a libjbigi.so
    44# When executed in OSX: Produces a libjbigi.jnilib
    5 CC="gcc"
     5[ -z "$CC" ] && CC="gcc"
    66
    77# If JAVA_HOME isn't set we'll try to figure it out
     
    3939            UNIXTYPE="linux"
    4040        fi
    41         COMPILEFLAGS="-fPIC -Wall"
     41        COMPILEFLAGS="-fPIC -Wall $CFLAGS"
    4242        INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}"
    4343        LINKFLAGS="-shared -Wl,-soname,libjbigi.so"
Note: See TracChangeset for help on using the changeset viewer.