Skip to content

Commit 93b1954

Browse files
committed
Don't build static GraphicsMagick / ImageMagick files
We don't need stuff like the magick app
1 parent 7bed122 commit 93b1954

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/installer.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ installGraphicsmagick() {
330330
curl -ksSLf -o - http://ftp.icm.edu.pl/pub/unix/graphics/GraphicsMagick/${1%.*}/GraphicsMagick-$1.tar.gz | tar xzm -C "$installGraphicsmagick_dir"
331331
printf 'done.\n'
332332
cd "$installGraphicsmagick_dir/GraphicsMagick-$1"
333-
CFLAGS='-Wno-misleading-indentation -Wno-unused-const-variable -Wno-pointer-compare -Wno-tautological-compare' ./configure --enable-shared
333+
CFLAGS='-Wno-misleading-indentation -Wno-unused-const-variable -Wno-pointer-compare -Wno-tautological-compare' ./configure --disable-static --enable-shared
334334
make V=0 -j$(nproc) install
335335
cd - >/dev/null
336336
rm -rf "$installGraphicsmagick_dir"
@@ -358,7 +358,7 @@ installImagemagick() {
358358
curl -ksSLf -o - https://www.imagemagick.org/download/releases/ImageMagick-$1.tar.xz | tar xJm -C "$installImagemagick_dir"
359359
printf 'done.\n'
360360
cd "$installImagemagick_dir/ImageMagick-$1"
361-
./configure --disable-docs
361+
./configure --disable-docs --disable-static --enable-shared
362362
make V=0 -j$(nproc) install
363363
cd - >/dev/null
364364
rm -rf "$installImagemagick_dir"

0 commit comments

Comments
 (0)