diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-11-25 19:49:55 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-11-25 19:49:55 +0000 |
commit | ebf076dfa5eb89d6e7b507f84c139ff1fac3f559 (patch) | |
tree | 415d6e42cec95527d73a738bcda2a46432a0aa13 /share/mk/bsd.libnames.mk | |
parent | f198d817224bcf428a2f5df90eb59753ed6e2459 (diff) |
Define a LIB<NAME>DIR for every library that LIBADD provides.
This is going to be used to allow DIRDEPS to be bootstrapped off of
LIBADD/DPADD. It currently works for internal libraries which have a
DIR defined for them but also use the .a library from a src-mapped obj
directory. It can also be useful for using -L without a --sysroot per
LIBADD to use the OBJDIR version of the libraries.
I didn't review every LIBADD, so it is possible this is missing some.
Sponsored by: EMC / Isilon Storage Division
Notes
Notes:
svn path=/head/; revision=291327
Diffstat (limited to 'share/mk/bsd.libnames.mk')
-rw-r--r-- | share/mk/bsd.libnames.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/bsd.libnames.mk b/share/mk/bsd.libnames.mk index 6d3bbe7b8510..7d7faf11e235 100644 --- a/share/mk/bsd.libnames.mk +++ b/share/mk/bsd.libnames.mk @@ -10,6 +10,8 @@ .sinclude <src.libnames.mk> +# Src directory locations are also defined in src.libnames.mk. + LIBCRT0?= ${DESTDIR}${LIBDIR}/crt0.o LIBALIAS?= ${DESTDIR}${LIBDIR}/libalias.a |