Last change
on this file since 31145 was 31145, checked in by ak19, 7 years ago |
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.
|
File size:
539 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ -d cascade-make ] ; then
|
---|
4 | source cascade-make/lib/cascade-lib.bash GEXTIMAGEMAGICK . $*
|
---|
5 | fi
|
---|
6 |
|
---|
7 | if [ -z $GEXTIMAGEMAGICK ] ; then
|
---|
8 | source setup.bash
|
---|
9 | fi
|
---|
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
|
---|
14 | if [ "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"
|
---|
18 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.