Changeset e232a64


Ignore:
Timestamp:
Jun 5, 2011 2:09:12 AM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
b612e92
Parents:
35495e4
Message:

android: fix gmp configure args

File:
1 edited

Legend:

Unmodified
Added
Removed
  • android/jni/build.sh

    r35495e4 re232a64  
    22# build GMP and libjbigi.so using the Android tools directly
    33#
     4
     5# uncomment to skip
     6# exit 0
     7
    48THISDIR=$(realpath $(dirname $(which $0)))
    59cd $THISDIR
    610export NDK=$(realpath ../../../android-ndk-r5b/)
    711
     12#
     13# API level, must match that in ../AndroidManifest.xml
     14#
    815LEVEL=3
    916ARCH=arm
     
    1724
    1825JBIGI=$(realpath ../../core/c/jbigi)
    19 GMPVER=5.0.2
     26GMPVER=4.3.2
    2027GMP=$JBIGI/gmp-$GMPVER
    2128
     
    4451then
    4552        echo "Configuring GMP..."
    46         $GMP/configure --with-pic --build=arm --host=x86 || exit 1
     53        $GMP/configure --with-pic --build=x86-none-linux --host=armv5-eabi-linux || exit 1
    4754fi
    4855
Note: See TracChangeset for help on using the changeset viewer.