Skip to content

Commit

Permalink
-lpthread is required by -lzfs so should be later in LIBS list.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
fjoe authored and fjoe committed Nov 28, 2011
1 parent 5393e1d commit a174120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rescue/rescue/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a174120

Please sign in to comment.