On Fri, Sep 26, 2003 at 02:06:09AM -0500, Eric Wilhelm wrote:
> It seems that I have found an answer, but it is not as automatic as it seems 
> it should be.
> 
> If I use the NOCLEAN option and then go into the build directory and do:
> ld -shared inlinedwg_pl_4215.o -o 
> ../../lib/auto/inlinedwg_pl_4215/inlinedwg_pl_4215.so /usr/local/lib/ad2.a 
> /usr/local/lib/ad2pic.a
> 
> It appears to be working, but I will have to do this step by hand every time I 
> change the C code and cause a recompile?
> 
> Does it have something to do with MakeMaker not finding the *.a files in the 
> Makefile.PL?
> 
> Is there any way to make .so files out of .a files?
> 
> --Eric
> 

Hi Eric,
        if you specify the static library in the MYEXTLIB part of the
inline config it should get included inside the dynamic library created
by inline.

use Inline C => Config  => MYEXTLIB => '$(TOP)/BLLibrary/lib/libCDBTdates.a';


Hope that was some help
Peter

-- 
It's our responsibility to completely supply emerging leadership skills 
to stay competitive in tomorrow's world

Reply via email to