source: gs2-extensions/gnome-lib/trunk/src/packages/CASCADE-MAKE/LIBICONV.sh@ 35810

Last change on this file since 35810 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
3package=libiconv
4version=-1.14
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
9
10prefix=$GEXTGNOME_INSTALLED
11
12if [ "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"
20else
21 extra_config_args=
22fi
23
24
25opt_run_untar $force_untar $auto_untar $package $version
26opt_run_configure $force_config $auto_config $package $version $prefix \
27 $extra_config_args
28
29opt_run_make $compile $package $version
30opt_run_make $install $package $version "install"
31opt_run_make $clean $package $version "clean"
32opt_run_make $distclean $package $version "distclean"
33
34opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.