aboutsummaryrefslogtreecommitdiff
path: root/cddl
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2007-04-17 15:52:37 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2007-04-17 15:52:37 +0000
commit1c22c47c35861016b1551a62befc70bb63069e5d (patch)
tree080f0d99f63e4e8ced1e0f0e2269a3c4c93c740f /cddl
parent9eab54debf424f043e71f33404ee3da88270410a (diff)
downloadsrc-1c22c47c35861016b1551a62befc70bb63069e5d.tar.gz
src-1c22c47c35861016b1551a62befc70bb63069e5d.zip
Link libzpool, ztest and zdb against libpthread.
Requested by: ru
Notes
Notes: svn path=/head/; revision=168818
Diffstat (limited to 'cddl')
-rw-r--r--cddl/lib/libzpool/Makefile4
-rw-r--r--cddl/usr.bin/ztest/Makefile4
-rw-r--r--cddl/usr.sbin/zdb/Makefile4
3 files changed, 6 insertions, 6 deletions
diff --git a/cddl/lib/libzpool/Makefile b/cddl/lib/libzpool/Makefile
index 9bf818c20b88..28e09b9f78e1 100644
--- a/cddl/lib/libzpool/Makefile
+++ b/cddl/lib/libzpool/Makefile
@@ -36,8 +36,8 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/head
CFLAGS+= -I${.CURDIR}/../../../cddl/lib/libumem
CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libnvpair
-DPADD= ${LIBTHR} ${LIBZ}
-LDADD= -lthr -lz
+DPADD= ${LIBPTHREAD} ${LIBZ}
+LDADD= -lpthread -lz
# atomic.S doesn't like profiling.
NO_PROFILE=
diff --git a/cddl/usr.bin/ztest/Makefile b/cddl/usr.bin/ztest/Makefile
index b38426cec2c3..e109febad90f 100644
--- a/cddl/usr.bin/ztest/Makefile
+++ b/cddl/usr.bin/ztest/Makefile
@@ -15,7 +15,7 @@ CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common
CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/head
CFLAGS+= -I${.CURDIR}/../../lib/libumem
-DPADD= ${LIBAVL} ${LIBM} ${LIBNVPAIR} ${LIBTHR} ${LIBUMEM} ${LIBZPOOL}
-LDADD= -lavl -lm -lnvpair -lthr -lumem -lzpool
+DPADD= ${LIBAVL} ${LIBM} ${LIBNVPAIR} ${LIBPTHREAD} ${LIBUMEM} ${LIBZPOOL}
+LDADD= -lavl -lm -lnvpair -lpthread -lumem -lzpool
.include <bsd.prog.mk>
diff --git a/cddl/usr.sbin/zdb/Makefile b/cddl/usr.sbin/zdb/Makefile
index fd7cdec5af22..4b1f87549fbe 100644
--- a/cddl/usr.sbin/zdb/Makefile
+++ b/cddl/usr.sbin/zdb/Makefile
@@ -16,7 +16,7 @@ CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/sys
CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/head
CFLAGS+= -I${.CURDIR}/../../lib/libumem
-DPADD= ${LIBAVL} ${LIBM} ${LIBNVPAIR} ${LIBTHR} ${LIBUMEM} ${LIBZPOOL}
-LDADD= -lavl -lm -lnvpair -lthr -lumem -lzpool
+DPADD= ${LIBAVL} ${LIBM} ${LIBNVPAIR} ${LIBPTHREAD} ${LIBUMEM} ${LIBZPOOL}
+LDADD= -lavl -lm -lnvpair -lpthread -lumem -lzpool
.include <bsd.prog.mk>