summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/grep/Makefile')
-rw-r--r--usr.bin/grep/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/grep/Makefile b/usr.bin/grep/Makefile
index feb30db..ad90d2e 100644
--- a/usr.bin/grep/Makefile
+++ b/usr.bin/grep/Makefile
@@ -38,8 +38,8 @@ LDADD= -lz
DPADD= ${LIBZ}
.if !defined(WITHOUT_LZMA_SUPPORT)
-LDADD+= -llzma
-DPADD+= ${LIBLZMA}
+LDADD+= -llzma -lpthread
+DPADD+= ${LIBLZMA} ${LIBPTHREAD}
LINKS+= ${BINDIR}/${PROG} ${BINDIR}/xzgrep \
${BINDIR}/${PROG} ${BINDIR}/xzegrep \
OpenPOWER on IntegriCloud