Import ImageMagick mogrify static binary
* ImageMagick-6.9.10-64
* Configured with:
$ CFLAGS="-Os" CXXFLAGS="-Os" \
./configure --disable-opencl --disable-openmp --enable-shared=no \
--enable-static --enable-zero-configuration --with-gcc-arch=x86_64 \
--without-bzlib --without-djvu --without-dps --without-fftw \
--without-flif --without-fontconfig --without-fpx \
--without-freetype --without-heic --without-jbig --without-jpeg \
--without-lcms --without-lqr --without-lzma --without-openexr \
--without-openjp2 --without-pango --without-raqm --without-raw \
--without-tiff --without-webp --without-x --without-xml \
--without-zlib --without-zstd
* Then compile:
$ make utilities/mogrify
* Since configure and libtool *REALLY* don't want to make this static,
no matter how I set LDFLAGS, CFLAGS, CXXFLAGS, etc., in configure,
we now manually re-link:
$ gcc -I/usr/include/libpng16 -Os -Wall -fexceptions -pthread \
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 \
-o utilities/mogrify utilities/mogrify.o \
wand/.libs/libMagickWand-6.Q16.a \
magick/.libs/libMagickCore-6.Q16.a -static -lpng16 -lz -lltdl -lm \
-ldl
Change-Id: Id644af789118990134c22f3b0a896daab90880c7
1 file changed
tree: 57094be7ce9dc3734ba8c3326533c3bd0256e976
- linux-x86/