[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linking static libs into shared lib with libtool
From: |
Albert Chin |
Subject: |
Re: linking static libs into shared lib with libtool |
Date: |
Mon, 19 Aug 2002 09:43:52 -0500 |
User-agent: |
Mutt/1.2.5i |
On Mon, Aug 19, 2002 at 03:01:46PM +0200, Ron Lange wrote:
> I want to link a shared php extension which is using libtool in
> conjuction with automake/autoconf. This .so is using other libs, which I
> need to be statically linked into the module.
>
> Actually I am quite confused of the php build mechanism, modifying the
> config.m4 doesn't cause the static libs linked into the shared one. I
> modified the config_vars.mk by inserting just '-L/pathtolibs -llibname
> ...' into the INCLUDES var...terrible way, I know...
>
> Now the libs seems to be linked in, but during the use of the php-module
> it is concerning about unreachable shared objects, which I actually
> wanted to be linked statically in...
>
> How you get libtool to link first the needed libs statically into the
> proper library then this lib into a shared object?
Make the first set of libs convenience libraries.
--
albert chin (address@hidden)