summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2011-11-28 15:44:04 +0000
committerfjoe <fjoe@FreeBSD.org>2011-11-28 15:44:04 +0000
commita174120b511c73c02c69f92772e679b720ac0ca8 (patch)
tree73725ee7db770a8e496db8c9f369c09a40d6da1e /rescue
parent5393e1dd702b4f3fcb73c87a58b7b1b02c3f6fa2 (diff)
downloadFreeBSD-src-a174120b511c73c02c69f92772e679b720ac0ca8.zip
FreeBSD-src-a174120b511c73c02c69f92772e679b720ac0ca8.tar.gz
-lpthread is required by -lzfs so should be later in LIBS list.
There were no "undefined symbol pthread_xxx" errors during the link before this fix only because of STATIC_LIB_REQUIRE() declarations in lib/libthr/thread/thr_init.c.
Diffstat (limited to 'rescue')
-rw-r--r--rescue/rescue/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index 9eea239..feb85ec 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -123,7 +123,7 @@ CRUNCH_LIBS+= -lalias -lcam -lcurses -ldevstat -lipsec
CRUNCH_LIBS+= -lipx
.endif
.if ${MK_ZFS} != "no"
-CRUNCH_LIBS+= -lavl -lnvpair -lpthread -lzfs -luutil -lumem
+CRUNCH_LIBS+= -lavl -lnvpair -lzfs -lpthread -luutil -lumem
.endif
CRUNCH_LIBS+= -lgeom -lbsdxml -ljail -lkiconv -lmd -lreadline -lsbuf -lufs -lz
OpenPOWER on IntegriCloud