summaryrefslogtreecommitdiffstats
path: root/lib/librtld_db/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librtld_db/Makefile')
-rw-r--r--lib/librtld_db/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/librtld_db/Makefile b/lib/librtld_db/Makefile
index 2815a07..9f9b603 100644
--- a/lib/librtld_db/Makefile
+++ b/lib/librtld_db/Makefile
@@ -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>
OpenPOWER on IntegriCloud