On Fri, Mar 24, 2000 at 12:43:24AM +0000, Gary V. Vaughan wrote:
> On Thu, Mar 23, 2000 at 05:38:35PM -0500, Jason Day wrote:
> > So I tried building a shared version of the static library, and libtool gave
> > me a shared library, but with a dependency I didn't want.  Is there a way to
> > link an object file and a (PIC) static library into a self-contained shared
> > library?
> 
> You want the pic objects in the static lib to be added to the shared
> lib right?

Yes, that's right.

> 
> If you are building the PIC-static lib yourself, then create it as
> libtool convenience library and link *that* into the shared lib that
> depends on it.

Do you mean to link with the .la file, instead of using -l?  Can I do this
after the library has been installed?

> 
> Cheers,
>       Gary.
> -- 
>   ___              _   ___   __              _ mailto:[EMAIL PROTECTED]
>  / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       [EMAIL PROTECTED] 
> | (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \      
>  \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
> home page:  /___/                      /___/                  gpg public key:
> http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc

-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9

Reply via email to