logoalt Hacker News

CGamesPlaylast Saturday at 4:06 AM1 replyview on HN

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.


Replies

immibislast Saturday at 10:16 AM

It only works in a dynamically-linked binary, because the dynamic linker needs to be loaded.

show 1 reply