"Sander Striker" <[EMAIL PROTECTED]> writes:

> > These variables in the .la file look interesting:
> > 
> > # The name that we can dlopen(3).
> > dlname='libmod_foo.so.0.0.0'
> > # Names of this library.
> > library_names='libmod_foo.so.0.0.0 libmod_foo.so.0 libmod_foo.so'
> 
> Ah, now I see what you are talking about.  Ok, I think we need to do
> the following (all the time*):
> 
>  - extract dlname from $MODULE_BASENAME.la
>  - extract library_names from $MODULE_BASENAME.la
>  - remove $MODULE_BASENAME.la
>  - remove all files in library_names, except $dlname
>  - rename $dlname to $MODULE_BASENAME.so
> 
> And maybe:
>  - remove [lib]$MODULE_BASENAME.a
>  
> 
> Judging from your emails this is kind of what you had in mind, correct?

yessir

> If you don't pass it, libtool complains that the name doesn't start with 'lib'.
> This sounds like a libtool bug.  You are only seeing the lib prefix appear
> on some platforms, correct?

yes, IIRC it only appears on Tru64 and AIX

--
Jeff Trawick | [EMAIL PROTECTED]
Born in Roswell... married an alien...

Reply via email to