-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.
This commit is contained in:
parent
5393e1dd70
commit
a174120b51
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user