robotn/gohook

Cross-compiling: `zlib1.dll was not found.`

jibstack64 opened this issue · 0 comments

image

This is my build script:
env CGO_ENABLED=1 GOOS=windows GOARCH=386 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ go build -a -installsuffix cgo -ldflags '-s' .

I've done a lot of searching and I'm genuinely puzzled.