Skip to content

Commit 25ba795

Browse files
committed
Windows libvips 8.8.0 includes meson-built dependencies
1 parent 9171341 commit 25ba795

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/win.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ unzip vips-dev-w64-web-${VERSION_VIPS}.zip
1212

1313
# Clean and zip
1414
cd /vips/vips-dev-${VERSION_VIPS_MAJOR}.${VERSION_VIPS_MINOR}
15-
rm bin/libvips-cpp-42.dll bin/libgsf-win32-1-114.dll bin/libssp-0.dll
15+
rm bin/libvips-cpp-42.dll
1616
cp bin/*.dll lib/
1717

1818
# Create platform.json
19-
echo "\"${PLATFORM}\"" >platform.json
19+
printf "\"${PLATFORM}\"" >platform.json
2020

2121
# Create versions.json
2222
curl -LO https://raw.githubusercontent.com/lovell/build-win64/v${VERSION_VIPS}/${VERSION_VIPS_MAJOR}.${VERSION_VIPS_MINOR}/vips.modules
2323
version_of() {
24-
xmllint --xpath "string(/moduleset/autotools[@id='$1']/branch/@version | /moduleset/cmake[@id='$1']/branch/@version)" vips.modules
24+
xmllint --xpath "string(/moduleset/autotools[@id='$1']/branch/@version | /moduleset/cmake[@id='$1']/branch/@version | /moduleset/meson[@id='$1']/branch/@version)" vips.modules
2525
}
26-
echo "{\n\
26+
printf "{\n\
2727
\"cairo\": \"$(version_of cairo)\",\n\
2828
\"croco\": \"$(version_of libcroco)\",\n\
2929
\"exif\": \"$(version_of libexif)\",\n\

0 commit comments

Comments
 (0)