Skip to content

Commit

Permalink
Moved building imagemagick to a separate file.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Aug 12, 2022
1 parent a9ef5f1 commit 98a3569
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 1 addition & 4 deletions Magick++/fuzz/build.sh
Expand Up @@ -2,10 +2,7 @@

. build_dependencies.sh

# Build ImageMagick
./configure --prefix="$WORK" --disable-shared --disable-docs --with-utilities=no LDFLAGS="${LDFLAGS:-} -L$WORK/lib" CFLAGS="$CFLAGS -I$WORK/include" PKG_CONFIG_PATH="$WORK/lib/pkgconfig"
make "-j$(nproc)"
make install
. build_imagemagick.sh

MAGICK_COMPILER=$CXX
MAGICK_COMPILER_FLAGS=$CXXFLAGS
Expand Down
5 changes: 5 additions & 0 deletions Magick++/fuzz/build_imagemagick.sh
@@ -0,0 +1,5 @@
#!/bin/bash -eu

./configure --prefix="$WORK" --disable-shared --disable-docs --with-utilities=no LDFLAGS="${LDFLAGS:-} -L$WORK/lib" CFLAGS="$CFLAGS -I$WORK/include" PKG_CONFIG_PATH="$WORK/lib/pkgconfig"
make "-j$(nproc)"
make install

0 comments on commit 98a3569

Please sign in to comment.