This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Library problem in jni.cc on Linux



On 3 May 2001, Tom Tromey wrote:
>  #ifdef USE_LTDL
>    lt_dlinit ();
> +  lt_dlhandle self = lt_dlopen (NULL);
> +  if (self != NULL)
> +    add_library (self);
>  #endif

Note that this will cause self to be searched first, not last (which is
probably what you want anyway).

Jeff




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]