From a174120b511c73c02c69f92772e679b720ac0ca8 Mon Sep 17 00:00:00 2001 From: fjoe Date: Mon, 28 Nov 2011 15:44:04 +0000 Subject: -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. --- rescue/rescue/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rescue') 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 -- cgit v1.1