Files
i2p.i2p/core/c/jbigi/build.sh
jrandom d85dc8213e 2005-01-21 Jhor
* Updated jbigi build scripts for OSX.
2005-01-21  jrandom
    * Added support for OSX to the NativeBigInteger code so that it will look
      in the classpath for libjbigi-osx-none.jnilib.  At the moment, that file
      is not bundled with the shipped jbigi.jar yet though.
2005-01-22 01:53:02 +00:00

22 lines
389 B
Bash

#/bin/sh
echo "Building the jbigi library with GMP"
echo "Extracting GMP..."
tar -xjf gmp-4.1.4.tar.bz2
echo "Building..."
mkdir -p lib/
mkdir -p bin/local
cd bin/local
case `uname -sr` in
Darwin*)
# --with-pic is required for static linking
../../gmp-4.1.4/configure --with-pic;;
*)
../../gmp-4.1.4/configure;;
esac
make
sh ../../build_jbigi.sh static
cp *jbigi???* ../../lib/
cd ../..