Load external .so (Shared Object) in native extension?

R Ruben Ruben 3 years 6 months ago
2 0 0

Hi,

I'm building a native extension that requieres to load a pre-compiled shared object. At the moment, i'm placing the .so file in bin/tmp/lib, under the project's directory, and it works, but it feels dirty (and breaks after each clean).

Is there any 'official' (or at leat better) way of doing this?

Thanks

CONTACT
Can’t find what you’re looking for?