h2non / bimg

Go package for fast high-level image processing powered by libvips C library
https://pkg.go.dev/github.com/h2non/bimg?tab=doc
MIT License
2.68k stars 337 forks source link

about -gcflags all=-N -l #390

Open WAYLON opened 2 years ago

WAYLON commented 2 years ago

When I build the executable I add this parameter: -gcflags all= -n -l

Go build github.com/h2non/bimg: invalid flag in pkg-config --cflags: -xpreprocessor

However, this is normal when I don't add this parameter. How can I solve this problem? This is what happens when you debug code in Goland