root/gs2-extensions/imagemagick/branches/macos-dev/src/packages/CASCADE-MAKE/LIBICONV.sh @ 34338

Revision 34338, 1.2 KB (checked in by davidb, 7 weeks ago)

Bump up to newer version, as the result of encountering a MacOS compile error on Macrocarpa

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3# Used to use 1.14 which then had a 'gs-' fix to it.due a compiler error occurring
4# After testing on MacOS 10.14, a new compile error appeared, resulting in the bump up to 1.16
5package=libiconv
6version=-1.16
7
8progname=$0
9
10source ../cascade-make/lib/cascade-lib.bash GEXTIMAGEMAGICK ../.. $*
11
12prefix=$GEXTIMAGEMAGICK_INSTALLED
13
14if [ "x$crossOS" = "xandroid" ] ; then
15  # Stops configure generating a local 'stdint.h' in 'srclib' folder
16  # (when this file was generated, caused no end of issues with chaining
17  #  standard header files, errors with time_t, pid_t etc)
18  # Fix came from:
19  #  http://stackoverflow.com/questions/9053702/building-libiconv-fails-with-the-android-standalone-toolchain
20
21  extra_config_args="gl_cv_header_working_stdint_h=yes"
22else
23  extra_config_args=
24fi
25
26
27opt_run_untar $force_untar $auto_untar $package $version
28opt_run_configure $force_config $auto_config $package $version $prefix \
29  $extra_config_args \
30  --enable-static \
31  --disable-shared \
32
33#export DYLIB_COMPATIBILITY_VERSION=7.0.0
34
35opt_run_make $compile $package $version
36opt_run_make $install $package $version "install"
37opt_run_make $clean $package $version "clean"
38opt_run_make $distclean $package $version "distclean"
39
40opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the browser.