Changeset 5ab1d689 for core/c


Ignore:
Timestamp:
Sep 20, 2013 7:39:25 PM (7 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
641fc0c
Parents:
37521c6
Message:

jbigi scripts: look in /usr/local (for *BSD)

File:
1 edited

Legend:

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

    r37521c6 r5ab1d689  
    4040        fi
    4141        COMPILEFLAGS="-fPIC -Wall $CFLAGS"
    42         INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}"
     42        INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE} -I/usr/local/include"
    4343        LINKFLAGS="-shared -Wl,-soname,libjbigi.so"
    4444        LIBFILE="libjbigi.so";;
     
    5050if [ "$1" = "dynamic" ] ; then
    5151        echo "Building a jbigi lib that is dynamically linked to GMP"
    52         LIBPATH="-L.libs"
     52        LIBPATH="-L.libs -L/usr/local/lib"
    5353        INCLUDELIBS="-lgmp"
    5454else
     
    6060rm -f jbigi.o $LIBFILE
    6161$CC -c $COMPILEFLAGS $INCLUDES ../../jbigi/src/jbigi.c || exit 1
    62 $CC $LINKFLAGS $INCLUDES -o $LIBFILE jbigi.o $INCLUDELIBS $STATICLIBS || exit 1
     62$CC $LINKFLAGS $INCLUDES -o $LIBFILE jbigi.o $INCLUDELIBS $STATICLIBS $LIBPATH || exit 1
    6363
    6464exit 0
Note: See TracChangeset for help on using the changeset viewer.