Last change
on this file since 26783 was 26783, checked in by davidb, 11 years ago |
Changes that resulted from testing under Android NDK
|
-
Property svn:executable
set to
*
|
File size:
995 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | package=libiconv
|
---|
4 | version=-1.14
|
---|
5 |
|
---|
6 | progname=$0
|
---|
7 |
|
---|
8 | source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
|
---|
9 |
|
---|
10 | prefix=$GEXTGNOME_INSTALLED
|
---|
11 |
|
---|
12 | if [ "x$crossOS" = "xandroid" ] ; then
|
---|
13 | # Stops configure generating a local 'stdint.h' in 'srclib' folder
|
---|
14 | # (when this file was generated, caused no end of issues with chaining
|
---|
15 | # standard header files, errors with time_t, pid_t etc)
|
---|
16 | # Fix came from:
|
---|
17 | # http://stackoverflow.com/questions/9053702/building-libiconv-fails-with-the-android-standalone-toolchain
|
---|
18 |
|
---|
19 | extra_config_args="gl_cv_header_working_stdint_h=yes"
|
---|
20 | else
|
---|
21 | extra_config_args=
|
---|
22 | fi
|
---|
23 |
|
---|
24 |
|
---|
25 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
26 | opt_run_configure $force_config $auto_config $package $version $prefix \
|
---|
27 | $extra_config_args
|
---|
28 |
|
---|
29 | opt_run_make $compile $package $version
|
---|
30 | opt_run_make $install $package $version "install"
|
---|
31 | opt_run_make $clean $package $version "clean"
|
---|
32 | opt_run_make $distclean $package $version "distclean"
|
---|
33 |
|
---|
34 | opt_run_tarclean $tarclean $package $version |
---|
Note:
See
TracBrowser
for help on using the repository browser.