mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-19 20:39:49 +01:00
Therefore if a shared library is loaded by JVM ( using dlopen() ),
it is not possible to use dlopen() in a units initialization code -
dlopen() simply hangs.
To workaround this issue, if a library exports JNI_OnLoad(), then
no unit initialization is performed during library load.
The initialization is called when JVM has loaded the library and calls
JNI_OnLoad().
git-svn-id: trunk@34406 -
|
||
|---|---|---|
| .. | ||
| dllprt0.as | ||
| prt0.as | ||