]> granicus.if.org Git - imagemagick/commitdiff
change libtiff build order and switch to cmake
authorPaul Kehrer <paul.l.kehrer@gmail.com>
Sun, 8 Apr 2018 00:47:29 +0000 (08:47 +0800)
committerDirk Lemstra <dlemstra@users.noreply.github.com>
Sun, 8 Apr 2018 09:20:47 +0000 (11:20 +0200)
Magick++/fuzz/build.sh

index 901e1ddceca37bc43a1ab3eb8c886040bd4cec52..9786aa5c8f82cbc7624a0d1dfe248a0587446b78 100644 (file)
@@ -21,17 +21,16 @@ make -j$(nproc)
 make install
 popd
 
-# Build libtiff
-pushd "$SRC/libtiff"
-./autogen.sh
-./configure --enable-static --disable-shared --prefix="$WORK"
+# Build libjpeg-turbo
+pushd "$SRC/libjpeg-turbo"
+cmake . -DCMAKE_INSTALL_PREFIX=$WORK -DENABLE_STATIC=on -DENABLE_SHARED=off
 make -j$(nproc)
 make install
 popd
 
-# Build libjpeg-turbo
-pushd "$SRC/libjpeg-turbo"
-cmake . -DCMAKE_INSTALL_PREFIX=$WORK -DENABLE_STATIC=on -DENABLE_SHARED=off
+# Build libtiff
+pushd "$SRC/libtiff"
+cmake . -DCMAKE_INSTALL_PREFIX=$WORK -DBUILD_SHARED_LIBS=off
 make -j$(nproc)
 make install
 popd