[CMake] CMake and swig problem

William A. Hoffman billlist at nycap.rr.com
Fri Feb 24 09:02:48 EST 2006


At 08:56 AM 2/24/2006, Ian.Appru at ubs.com wrote:

>The Java call System.loadLibrary() is platform dependant so should only
>need to 
>use System.loadLibrary("MyJNI").
>
>It prepends 'lib' and uses .so suffix on unix and uses the .dll suffix
>on 
>windows - no prefix.
>
>I am surprised that python would not also do this - 
>
>I think for now I will create my own local UseSWIG-Java module until
>UseSWIG is 
>all things to all people.
>
>Regards
>Ian
We can fix this for Java.   If Java does not need the prefix to be empty,
then we should change it.

-Bill



More information about the CMake mailing list