Fix build WITHOUT_CDDL by unconditionnaly adding libproc and librtld_db

on supported arches to the prebuild libs
This commit is contained in:
bapt 2015-05-26 16:25:28 +00:00
parent 8eb0589308
commit f74d062ac2

View File

@ -1755,6 +1755,7 @@ _cddl_lib= cddl/lib
cddl/lib/libzfs_core__L: cddl/lib/libnvpair__L
cddl/lib/libzfs__L: lib/libgeom__L
cddl/lib/libctf__L: lib/libz__L
.endif
# cddl/lib/libdtrace requires lib/libproc and lib/librtld_db; it's only built
# on select architectures though (see cddl/lib/Makefile)
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
@ -1762,7 +1763,6 @@ cddl/lib/libctf__L: lib/libz__L
${MACHINE_CPUARCH} == "arm"
_prebuild_libs+= lib/libproc lib/librtld_db
.endif
.endif
.if ${MK_CRYPT} != "no"
.if ${MK_OPENSSL} != "no"