mirror of https://github.com/talgo-cloud/bimg.git
For version prior 7.41, vips_init() is a macro to VIPS_INIT(). VIPS_INIT() should be called, but as it is a macro, cgo could not determine the return type, hence making the build fail. So, we undef vips_init(), and define the vips_init() method.master
parent
ae4046b5a5
commit
0e5ba53847
Loading…
Reference in new issue