Ignore:
Timestamp:
2016-11-23T17:21:51+13:00 (7 years ago)
Author:
ak19
Message:

Redoing El Capitan imgmagick binary for release after testing on an uncooperative El Cap Mac machine. The key change involved recompiling with mmacosx-version-min=10.8 (Mountain Lion) to make the binary more backwards compatible. Works on uncooperative mac. Still to test on Dr Bainbridge's El Cap laptop.

Location:
gs2-extensions/imagemagick/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/imagemagick/trunk/src/devel.bash

    r23291 r31145  
    88  source setup.bash
    99fi
     10
     11# for darwin, want to be backwards compatible upto and incl Mountain Lion
     12# to avoid "Illegal Instruction 4" errors when running imgmagick convert
     13# on older Mac
     14if [ "x$GSDLOS" = "xdarwin" ] ; then
     15    export CFLAGS="-mmacosx-version-min=10.8 $CFLAGS"
     16    export CXXFLAGS="-mmacosx-version-min=10.8 $CXXFLAGS"
     17    export LDFLAGS="-mmacosx-version-min=10.8 $LDFLAGS"
     18fi
  • gs2-extensions/imagemagick/trunk/src/packages/CASCADE-MAKE/IMAGEMAGICK.sh

    r30675 r31145  
    1313export CPPFLAGS="$CPPFLAGS -I$GEXTIMAGEMAGICK_INSTALLED/include"
    1414export CXXFLAGS="$CXXFLAGS -I$GEXTIMAGEMAGICK_INSTALLED/include"
    15 export LDFLAGS="$LDFLAGS -L$GEXTIMAGEMAGICK_INSTALLED/lib"
     15# We need to add libz to LDFLAGS to get the configure test for libtiff to succeed
     16# (only found to be necessary on an uncooperative mac)
     17export LDFLAGS="$LDFLAGS -L$GEXTIMAGEMAGICK_INSTALLED/lib -lz"
    1618export LD_LIBRARY_PATH="$GEXTIMAGEMAGICK_INSTALLED/lib"
    1719
Note: See TracChangeset for help on using the changeset viewer.