Building library that depends on another library.

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed May 8 13:06:09 UTC 2013


On Wed, May 08, 2013 at 11:34:20AM +0200, Dag-Erling Smørgrav wrote:
> Pawel Jakub Dawidek <pjd at 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?

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://mobter.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20130508/f5af4faa/attachment.sig>


More information about the freebsd-arch mailing list