META MODE: Rework circular dependency guard for librtld_db/libproc.

librtld_db only needs libutil.h to build, not the libproc library.  So
it can safely use its header and allow libproc to depend on librtld_rb
to be built first to link.  This is required after fixing ld --sysroot
in r291226.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2015-11-25 19:13:35 +00:00
parent bb8cd0c6f0
commit db548a6148
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291313
4 changed files with 3 additions and 4 deletions

View file

@ -14,9 +14,6 @@ SRCS= proc_bkpt.c \
INCS= libproc.h
CFLAGS+= -I${.CURDIR}
# avoid cyclic dependency
CFLAGS+= -I${.CURDIR:H}/librtld_db
GENDIRDEPS_FILTER+= Nlib/librtld_db
.if ${MK_CXX} == "no"
CFLAGS+= -DNO_CXA_DEMANGLE

View file

@ -12,6 +12,7 @@ DIRDEPS = \
lib/libcompiler_rt \
lib/libcxxrt \
lib/libelf \
lib/librtld_db \
lib/libutil \

View file

@ -10,5 +10,7 @@ SRCS= rtld_db.c
INCS= rtld_db.h
CFLAGS+= -I${.CURDIR}
# Avoid circular dependency, we only need the libproc.h header here.
CFLAGS+= -I${.CURDIR:H}/libproc
.include <bsd.lib.mk>

View file

@ -10,7 +10,6 @@ DIRDEPS = \
lib/libc \
lib/libcompiler_rt \
lib/libelf \
lib/libproc \
lib/libutil \