Accessing shared libraries on the target operating system is done by JNI access in mapper libraries compiled for the dedicated OS.
Those shared libraries must be explicitely included in an installer, see Native Libraries - <native>.
There are specific considerations which appear as subpages of this page.