Message ID | 20161017191327.16838-1-tytso@mit.edu (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
On Mon, Oct 17, 2016 at 03:13:27PM -0400, Theodore Ts'o wrote: > From: Dmitry Monakhov <dmonakhov@openvz.org> > > Order is important for static libraries, libblkid depends on libuuid. > We have to pass libuuid after libblkid, otherwise it fails like this: $ glo -n 1 mkfs/Makefile 9e1c66ca9cee mkfs: fix library ordering $ git describe --contains 9e1c66ca9cee v4.8.0-rc1~49 $ Cheers, Dave.
On Tue, Oct 18, 2016 at 09:40:42AM +1100, Dave Chinner wrote: > On Mon, Oct 17, 2016 at 03:13:27PM -0400, Theodore Ts'o wrote: > > From: Dmitry Monakhov <dmonakhov@openvz.org> > > > > Order is important for static libraries, libblkid depends on libuuid. > > We have to pass libuuid after libblkid, otherwise it fails like this: > > $ glo -n 1 mkfs/Makefile > 9e1c66ca9cee mkfs: fix library ordering > $ git describe --contains 9e1c66ca9cee > v4.8.0-rc1~49 > $ My bad, I still have a repo which is tracking the xfsprogs git tree on oss.sgi.com instead of git.kernel.org. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/mkfs/Makefile b/mkfs/Makefile index 170e3c1..c13b903 100644 --- a/mkfs/Makefile +++ b/mkfs/Makefile @@ -10,7 +10,7 @@ LTCOMMAND = mkfs.xfs HFILES = CFILES = maxtrres.c proto.c xfs_mkfs.c -LLDLIBS += $(LIBXFS) $(LIBXCMD) $(LIBUUID) $(LIBRT) $(LIBPTHREAD) $(LIBBLKID) +LLDLIBS += $(LIBXFS) $(LIBXCMD) $(LIBRT) $(LIBPTHREAD) $(LIBBLKID) $(LIBUUID) LTDEPENDENCIES += $(LIBXFS) $(LIBXCMD) LLDFLAGS = -static-libtool-libs