Fix build WITHOUT_CDDL by unconditionnaly adding libproc and librtld_db

on supported arches to the prebuild libs
This commit is contained in:
Baptiste Daroussin 2015-05-26 16:25:28 +00:00
parent 977c1e403e
commit 8e9b16e55f

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"