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=F8rgrav wrote: >> Pawel Jakub Dawidek <pjd@FreeBSD.org> writes: >>> I came up with something like the following. Instead of: >>>=20 >>> DPADD=3D ${LIBNV} >>> LDADD=3D -lnv >>> (plus modifying src/Makefile.inc1) >>>=20 >>> I only add: >>>=20 >>> LDADD=3D -L${.OBJDIR}/../libnv -lnv >>=20 >> That breaks the non-world build. >=20 > 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>