Closed nowind closed 5 years ago
To be honest, dynamic-only would be ideal, though it wouldn't be particularly Go-like. I would need to introduce a new build tag to support this, though. And then you would need to remember to copy the dynamic libraries into your program when doing go build
.
If you want to do this locally, then you can change the #cgo
directives to ONLY link to the libui dynamic library, and then copy those files to the ui
directory in your GOPATH/src.
so,i need do following (windows):
I'm not sure about the implib part. You could probably just use the release MinGW DLLs directly.
emm,mingwgcc can link DLLs directly ,implib is not necessary
may it support link to libui dynamic library?