From owner-freebsd-arch@FreeBSD.ORG Mon May 6 18:49:15 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 58C4933E; Mon, 6 May 2013 18:49:15 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 209F7ACC; Mon, 6 May 2013 18:49:15 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id 679FFDF01; Mon, 6 May 2013 18:49:14 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id 2B05F35C4F; Mon, 6 May 2013 20:49:15 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Pawel Jakub Dawidek Subject: Re: Building library that depends on another library. References: <20130505201436.GJ1374@garage.freebsd.pl> Date: Mon, 06 May 2013 20:49:15 +0200 In-Reply-To: <20130505201436.GJ1374@garage.freebsd.pl> (Pawel Jakub Dawidek's message of "Sun, 5 May 2013 22:14:36 +0200") Message-ID: <86r4hkgd04.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Mon, 06 May 2013 18:49:15 -0000 Pawel Jakub Dawidek writes: > It looks like to make such dependency work one HAS TO add libnv to > _prebuild_libs in src/Makefile.inc1, which seems wrong. It may seem wrong, but it is correct, cf the following comment in Makefile.inc1: # The list of libraries with dependents (${_prebuild_libs}) and their # interdependencies (__L) are built automatically by the # ${.CURDIR}/tools/make_libdeps.sh script. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no