From owner-freebsd-arch@FreeBSD.ORG Wed May 8 13:06:09 2013 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A05BA1FB for ; Wed, 8 May 2013 13:06:09 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (garage.dawidek.net [91.121.88.72]) by mx1.freebsd.org (Postfix) with ESMTP id 6C542DFC for ; Wed, 8 May 2013 13:06:08 +0000 (UTC) Received: from localhost (58.wheelsystems.com [83.12.187.58]) by mail.dawidek.net (Postfix) with ESMTPSA id 5B003C50; Wed, 8 May 2013 15:02:05 +0200 (CEST) Date: Wed, 8 May 2013 15:08:31 +0200 From: Pawel Jakub Dawidek To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Subject: Re: Building library that depends on another library. Message-ID: <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <86wqr9zug3.fsf@nine.des.no> X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-arch@FreeBSD.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2013 13:06:09 -0000 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 08, 2013 at 11:34:20AM +0200, Dag-Erling Sm=F8rgrav wrote: > Pawel Jakub Dawidek writes: > > I came up with something like the following. Instead of: > > > > DPADD=3D ${LIBNV} > > LDADD=3D -lnv > > (plus modifying src/Makefile.inc1) > > > > I only add: > > > > LDADD=3D -L${.OBJDIR}/../libnv -lnv >=20 > That breaks the non-world build. Could you provide example? Do you mean building individual libraries =66rom 'make buildenv' shell? --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://mobter.com --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlGKTk8ACgkQForvXbEpPzQ7DQCgvgBvi9sMofe1mPNDIxMwnfwJ ly4An1f70Qopvq21O0bCUrAuWlAdbP8N =WmrN -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn--