summaryrefslogtreecommitdiff
path: root/rescue
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2015-02-09 06:20:34 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2015-02-09 06:20:34 +0000
commit532000256b898d5d3b0067ffa328715d18f4776d (patch)
tree3f25b66f5b10f61bdad6d2e1065d6babc4b9bc85 /rescue
parent10e99e605728c341e59f41255fc3dd326d647938 (diff)
parentd6a9376028870754d7d3de3f626c1deb6df81092 (diff)
downloadsrc-test2-532000256b898d5d3b0067ffa328715d18f4776d.tar.gz
src-test2-532000256b898d5d3b0067ffa328715d18f4776d.zip
Notes
Diffstat (limited to 'rescue')
-rw-r--r--rescue/rescue/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index cb4422d4528b..7f123a8ab64e 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -120,9 +120,12 @@ CRUNCH_PROGS_usr.sbin+= zdb
# crunchgen does not like C++ programs; this should be fixed someday
# CRUNCH_PROGS+= devd
-CRUNCH_LIBS+= -lalias -lcam -lncursesw -ldevstat -lipsec
+CRUNCH_LIBS+= -lalias -lcam -lncursesw -ldevstat -lipsec -llzma
.if ${MK_ZFS} != "no"
CRUNCH_LIBS+= -lavl -lzpool -lzfs_core -lzfs -lnvpair -lpthread -luutil -lumem
+.else
+# liblzma needs pthread
+CRUNCH_LIBS+= -lpthread
.endif
CRUNCH_LIBS+= -lgeom -lbsdxml -lkiconv
.if ${MK_OPENSSL} == "no"
@@ -190,7 +193,6 @@ CRUNCH_ALIAS_less= more
CRUNCH_PROGS_usr.bin+= xz
CRUNCH_ALIAS_xz= unxz lzma unlzma xzcat lzcat
-CRUNCH_LIBS+= -llzma
CRUNCH_PROGS_usr.bin+= tar
CRUNCH_LIBS+= -larchive