[libbluray-devel] JRE for Android part 3
Petri Hintukainen
phintuka at users.sourceforge.net
Mon Feb 1 10:56:43 UTC 2021
su, 2021-01-31 kello 14:52 -0300, Vitor Dall'Acqua kirjoitti:
> Ok, while I work on why it's not rendering the menu in HDR..
> Petri, libnet.so that needs to be loaded before libjvm.so I have to
> pack it with Kodi (while it is already inside JAVA_HOME)
>
> I'm loading it like this:
>
> static const char libnet[] = "libnet";
> dl_dlopen(libnet, NULL);
>
> how do I write in C to load it but load from inside
> JAVA_HOME/lib/aarch64/ ?
You need full absolute path. Something like
static const char libnet[] = JAVA_HOME "/lib/aarch64/libnet";
I've updated JRE image (with OpenBSD libnet fix), it shouldn't need any
libs preloaded anymore.
What other changes there are left in libbluray ?
More information about the libbluray-devel
mailing list