]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Create a private library directory (LIBPRIVATEDIR) for libraries which
authorDag-Erling Smørgrav <des@FreeBSD.org>
Sun, 8 Sep 2013 09:40:23 +0000 (09:40 +0000)
committerDag-Erling Smørgrav <des@FreeBSD.org>
Sun, 8 Sep 2013 09:40:23 +0000 (09:40 +0000)
commit2442cc585adeecf23d0c9aebc3999366a40dc502
treeafa1159b74d646c787c36ea8cc6e9d83b93babe4
parent7c2af6212d5345ade65f1e2013e08b74c14fc794
Create a private library directory (LIBPRIVATEDIR) for libraries which
we don't want to expose but which can't or shouldn't be static.

To mark a library as private, define PRIVATELIB in its Makefile.  It
will be installed in LIBPRIVATEDIR, which is normally /usr/lib/private
(or /usr/lib32/private for 32-bit libraries on 64-bit platforms).

To indicate that a program or library depends on a private library,
define USEPRIVATELIB in its Makefile.  The correct version of
LIBPRIVATEDIR will be added to its run-time library search path.

Approved by: re (blanket)
Makefile.inc1
etc/mtree/BSD.usr.dist
share/mk/bsd.lib.mk
share/mk/bsd.own.mk
share/mk/bsd.prog.mk