-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
2e9fff5b18
commit
555f93b667
@ -123,7 +123,7 @@ CRUNCH_LIBS+= -lalias -lcam -lcurses -ldevstat -lipsec
|
|||||||
CRUNCH_LIBS+= -lipx
|
CRUNCH_LIBS+= -lipx
|
||||||
.endif
|
.endif
|
||||||
.if ${MK_ZFS} != "no"
|
.if ${MK_ZFS} != "no"
|
||||||
CRUNCH_LIBS+= -lavl -lnvpair -lpthread -lzfs -luutil -lumem
|
CRUNCH_LIBS+= -lavl -lnvpair -lzfs -lpthread -luutil -lumem
|
||||||
.endif
|
.endif
|
||||||
CRUNCH_LIBS+= -lgeom -lbsdxml -ljail -lkiconv -lmd -lreadline -lsbuf -lufs -lz
|
CRUNCH_LIBS+= -lgeom -lbsdxml -ljail -lkiconv -lmd -lreadline -lsbuf -lufs -lz
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user