libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: postdeps empty on OpenBSD


From: Ralf Wildenhues
Subject: Re: postdeps empty on OpenBSD
Date: Wed, 21 Sep 2005 22:45:40 +0200
User-agent: Mutt/1.5.9i

Hi Thorsten,

* Thorsten Glaser wrote on Wed, Sep 21, 2005 at 10:05:53PM CEST:
> Olly Betts dixit:
> >On 2005-09-21, Peter O'Gorman <address@hidden> wrote:
> >> IIRC, archive_cmds on openbsd does not use -nostdlib, so having empty
> >> postdeps ought to be okay.
> >
> >It looks like the problem is that "g++ -shared" doesn't link to libstdc++.
> 
> gcc -shared creates a shared library.
> 
> On OpenBSD, shared libraries do not link against other shared libraries.
> The main programme must link against all these.

OK, but this is exactly one thing libtool was designed to do for you:
keep track of the libraries you also have to link against; it should
have added -lstdc++ to _xapian.la's dependency_libs.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]