| ▲ | CGamesPlay 4 days ago | ||||||||||||||||
Use dlopen? I haven’t tried this in Go, but if you want a binary that optionally includes features from an external library, you want to use dlopen to load it. | |||||||||||||||||
| ▲ | immibis 4 days ago | parent [-] | ||||||||||||||||
It only works in a dynamically-linked binary, because the dynamic linker needs to be loaded. | |||||||||||||||||
| |||||||||||||||||