问题
looking to create static binaries for the imagemagick convert utlity on two platforms: ubuntu and os x.
the only discussion that I can find that discusses how to do this is from 2008, and is outdated.
I've tried downloading the .tar file from http://www.imagemagick.org/download/binaries/ImageMagick-7.0.0-0.tar.gz.
the discussion above suggests the following steps:
untarring, then building each delegate library as static (e.g.
./configure --disable-shared)globally building with
./configure --disable-shared --enable-delegate-buildrunning
make
which should build static versions of the main utilities.
I'm running into trouble building the delegate libraries as static, since the file structure of imagemagick has changed a lot in the past few years.
can somebody point me to the correct way to build a static version of the utility?
来源:https://stackoverflow.com/questions/25634129/compile-static-version-of-imagemagick-convert-util