Date: Wed, 8 May 2013 08:42:44 -0600 From: Warner Losh <imp@bsdimp.com> To: Pawel Jakub Dawidek <pjd@FreeBSD.org> Cc: =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>, freebsd-arch@FreeBSD.org Subject: Re: Building library that depends on another library. Message-ID: <DFF684D4-4E63-4198-BD0E-BA6D73947452@bsdimp.com> In-Reply-To: <20130508130831.GA1417@garage.freebsd.pl> References: <20130505201436.GJ1374@garage.freebsd.pl> <86r4hkgd04.fsf@nine.des.no> <20130507185005.GB1888@garage.freebsd.pl> <86wqr9zug3.fsf@nine.des.no> <20130508130831.GA1417@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 8, 2013, at 7:08 AM, Pawel Jakub Dawidek wrote:
> On Wed, May 08, 2013 at 11:34:20AM +0200, Dag-Erling Smørgrav wrote:
>> Pawel Jakub Dawidek <pjd@FreeBSD.org> writes:
>>> I came up with something like the following. Instead of:
>>>
>>> DPADD= ${LIBNV}
>>> LDADD= -lnv
>>> (plus modifying src/Makefile.inc1)
>>>
>>> I only add:
>>>
>>> LDADD= -L${.OBJDIR}/../libnv -lnv
>>
>> That breaks the non-world build.
>
> Could you provide example? Do you mean building individual libraries
> from 'make buildenv' shell?
It won't relink the library if libnv is changed too.
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DFF684D4-4E63-4198-BD0E-BA6D73947452>
