summaryrefslogtreecommitdiffstats
path: root/lib/libproc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libproc/Makefile')
-rw-r--r--lib/libproc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile
index 8c4f484..3feddb5 100644
--- a/lib/libproc/Makefile
+++ b/lib/libproc/Makefile
@@ -14,6 +14,9 @@ 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
OpenPOWER on IntegriCloud