From c2b9b03367e014fbeab8604d4ee704527db6bb46 Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Tue, 24 Jan 2023 10:58:58 +0100 Subject: [PATCH] Fix build with `--disable-svg` --- build.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index ed6c09576..a37b6eded 100755 --- a/build.sh +++ b/build.sh @@ -488,10 +488,8 @@ node --version else sed -i "/subdir('cplusplus')/d" meson.build fi - if [ -n "$ENABLE_SVG" ]; then - # resvg patch - curl -Ls https://github.com/kleisauke/libvips/compare/wasm-vips...RReverser-wasm-vips-resvg.patch | patch -p1 - fi + # resvg patch + curl -Ls https://github.com/kleisauke/libvips/compare/wasm-vips...RReverser-wasm-vips-resvg.patch | patch -p1 # Disable building man pages, gettext po files, tools, and (fuzz-)tests sed -i "/subdir('man')/{N;N;N;N;d;}" meson.build meson setup _build --prefix=$TARGET --cross-file=$MESON_CROSS --default-library=static --buildtype=release \