This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Library problem in jni.cc on Linux
- To: Tom Tromey <tromey at redhat dot com>
- Subject: Re: Library problem in jni.cc on Linux
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Thu, 3 May 2001 18:29:40 -0400 (EDT)
- cc: martin dot kahlert at infineon dot com, java at gcc dot gnu dot org
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