Author: delphij
Date: Thu May 22 00:01:31 2014
New Revision: 266520
URL: http://svnweb.freebsd.org/changeset/base/266520

Log:
  Explicitly link libzfs against libavl as it is done in OpenSolaris
  (4543:12bb2876a62e).  Without this, some third party applications
  may break because the lack of AVL related symbols.
  
  FreeBSD base system are not affected because the FreeBSD ZFS command
  line tools were all linked against libavl and thus hide the underlying
  issue.
  
  PR:           java/183081
  Tested by:    jkim
  MFC after:    3 days

Modified:
  head/cddl/lib/libzfs/Makefile

Modified: head/cddl/lib/libzfs/Makefile
==============================================================================
--- head/cddl/lib/libzfs/Makefile       Wed May 21 23:04:47 2014        
(r266519)
+++ head/cddl/lib/libzfs/Makefile       Thu May 22 00:01:31 2014        
(r266520)
@@ -7,8 +7,8 @@
 
 LIB=   zfs
 DPADD= ${LIBMD} ${LIBPTHREAD} ${LIBUMEM} ${LIBUTIL} ${LIBM} ${LIBNVPAIR} \
-       ${LIBZFS_CORE}
-LDADD= -lmd -lpthread -lumem -lutil -lm -lnvpair -lzfs_core
+       ${LIBAVL} ${LIBZFS_CORE}
+LDADD= -lmd -lpthread -lumem -lutil -lm -lnvpair -lavl -lzfs_core
 
 SRCS=  deviceid.c \
        fsshare.c \
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to