Date: Sun, 01 Apr 2012 15:04:06 +0200 From: Julien Laffaye <jlaffaye@freebsd.org> To: lev@FreeBSD.org Cc: ports@freebsd.org Subject: Re: BUILD_DEPENDS and libraries -- how to express build-time-only dependency on library? Message-ID: <4F785246.60804@freebsd.org> In-Reply-To: <792848519.20120401165840@serebryakov.spb.ru> References: <792848519.20120401165840@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/1/2012 2:58 PM, Lev Serebryakov wrote: > Hello, Ports. > > In case of static build of ported program, port need to have > BUILD_DEPENDS on libraries. LIB_DEPENDS is not suitable here, because > inc ase of static linkage, there will no dependency on livbrary in > runtime. > But BUILD_DEPENDS search for files at absolute pathname or for > executables. > Is it possible to express build-time-only dependency on library? > > BUILD_DEPENDS=${LOCALBASE}/lib/libfoo.a:${PORTSDIR}/foo/libfoo ?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F785246.60804>