This is my build script:
Code: Select all
$ cat build_imagemagick.bash
#!/bin/bash
target_dir=`pwd`
cd build
im_dir=`ls | grep ImageMagick- | tail -n1`
cd "$im_dir"
delegates=(jpeg png tiff)
for delegate in ${delegates[@]}
do
cd $delegate
make distclean
./configure --disable-shared
make
cd ..
done
make distclean
./configure --disable-shared --enable-delegate-build \
--prefix="$target_dir/ImageMagick.framework" --without-magick-plus-plus \
--without-perl --without-x --without-freetype
make
make install
Code: Select all
$ otool -L ImageMagick.framework/bin/convert
ImageMagick.framework/bin/convert:
/opt/local/lib/libtiff.3.dylib (compatibility version 12.0.0, current version 12.2.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)
/opt/local/lib/libjasper.1.dylib (compatibility version 2.0.0, current version 2.0.0)
/opt/local/lib/libjpeg.62.dylib (compatibility version 63.0.0, current version 63.0.0)
/opt/local/lib/libpng12.0.dylib (compatibility version 36.0.0, current version 36.0.0)
/opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)