[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hint library name (was Re: Naming convention for Java gluelib ?)



On Wed, Jun 10, 2009 at 12:23 AM, Matthew Johnson<mjj29@debian.org> wrote:
> On Tue Jun 09 18:57, Mathieu Malaterre wrote:
>> Quick question, in C# it is possible to hint the wrapped layer what is
>> the gluelib name. Does such mechanism exist in Java ? For instance my
>> jar file is called 'gdcm.jar' and the gluelib is (now):
>> 'libgdcmjni.so'
>>
> I'm not quite sure what you mean or what such a hint would do?

Can I add something like:

...
    System.loadLibrary("foojni");
...

somewhere in my foo.jar ?

In C#, you can do:
http://pkg-mono.alioth.debian.org/cli-policy/ch-mono.html#s4.2.2

               <configuration>
               <dllmap dll="foo" target="libfoo_complexname.so"/>
               </configuration>


thx
-- 
Mathieu


Reply to: