svn commit: r228074 - head/rescue/rescue
Max Khon
fjoe at FreeBSD.org
Mon Nov 28 15:44:04 UTC 2011
Author: fjoe
Date: Mon Nov 28 15:44:04 2011
New Revision: 228074
URL: http://svn.freebsd.org/changeset/base/228074
Log:
-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.
Modified:
head/rescue/rescue/Makefile
Modified: head/rescue/rescue/Makefile
==============================================================================
--- head/rescue/rescue/Makefile Mon Nov 28 15:09:31 2011 (r228073)
+++ head/rescue/rescue/Makefile Mon Nov 28 15:44:04 2011 (r228074)
@@ -123,7 +123,7 @@ CRUNCH_LIBS+= -lalias -lcam -lcurses -ld
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
More information about the svn-src-all
mailing list