diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-11-25 19:13:35 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-11-25 19:13:35 +0000 |
commit | 6fcce128fcc664a07d51b1298e989b1ce54bc1a8 (patch) | |
tree | f374753805c1287c38b8d3bec3f3ca53520aa4a6 /lib/libproc | |
parent | d1050e87e395ec2c7c844c9a0089d522dd1a0d2e (diff) | |
download | FreeBSD-src-6fcce128fcc664a07d51b1298e989b1ce54bc1a8.zip FreeBSD-src-6fcce128fcc664a07d51b1298e989b1ce54bc1a8.tar.gz |
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
Diffstat (limited to 'lib/libproc')
-rw-r--r-- | lib/libproc/Makefile | 3 | ||||
-rw-r--r-- | lib/libproc/Makefile.depend | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile index 3feddb5..8c4f484 100644 --- a/lib/libproc/Makefile +++ b/lib/libproc/Makefile @@ -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 diff --git a/lib/libproc/Makefile.depend b/lib/libproc/Makefile.depend index 1615031..33b871f 100644 --- a/lib/libproc/Makefile.depend +++ b/lib/libproc/Makefile.depend @@ -12,6 +12,7 @@ DIRDEPS = \ lib/libcompiler_rt \ lib/libcxxrt \ lib/libelf \ + lib/librtld_db \ lib/libutil \ |