Changed "convert" to "magick convert" for build on Windows

Confirmed that latest Windows binary release of ImageMagick does
not provide "convert" command, which conflict with windows system
command, even as a legacy program.
In addition, currently "magick convert" or "magick composite"
style is a standard way of usage.
This commit is contained in:
dolphin6k 2025-01-12 17:17:40 +09:00
parent 5797769eb8
commit 277d902235

View file

@ -367,7 +367,11 @@ OLDSVGFLAG:=$(if $(filter -lsvg-cairo,$(SVG_LIB)),-DOLD_SVG,)
PNG_CFLAGS:=$(shell $(PKG_CONFIG) libpng --cflags)
CONVERT:=./convert-wrapper.sh
ifeq ($(findstring MINGW, $(SYSNAME)),MINGW)
CONVERT:=magick convert
else
CONVERT:=./convert-wrapper.sh
endif
ifeq ($(hack),1)
hack: