aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.bin/ctfdump/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/usr.bin/ctfdump/Makefile')
-rw-r--r--cddl/usr.bin/ctfdump/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/cddl/usr.bin/ctfdump/Makefile b/cddl/usr.bin/ctfdump/Makefile
index 9a65c15efd31..700b070d0c40 100644
--- a/cddl/usr.bin/ctfdump/Makefile
+++ b/cddl/usr.bin/ctfdump/Makefile
@@ -19,9 +19,8 @@ CFLAGS+= -I${OPENSOLARIS_USR_DISTDIR} \
-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
-LDFLAGS+= -pthread
-
-LDADD+= -lelf -lz
+DPADD= ${LIBPTHREAD} ${LIBELF} ${LIBZ}
+LDADD= -lpthread -lelf -lz
.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common
.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/dump