Skip to content

Commit

Permalink
Fix build with --disable-svg
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Jan 24, 2023
1 parent 4c39767 commit c2b9b03
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit c2b9b03

Please sign in to comment.