]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
fix liblvm linking problem due to libdisk code reorg. see comment in
authorNathan Scott <nathans@sgi.com>
Sun, 15 Jul 2001 04:32:35 +0000 (04:32 +0000)
committerNathan Scott <nathans@sgi.com>
Sun, 15 Jul 2001 04:32:35 +0000 (04:32 +0000)
Makefile for more details.

mkfs/Makefile

index 5f7761a7054ff4bb62965ccf23ec8ea2bb289ddf..527fc471cce82aaf7bafe8d4e90cf997e067f861 100644 (file)
@@ -39,7 +39,11 @@ FSTYP = fstyp
 
 HFILES = xfs_mkfs.h proto.h
 CFILES = $(HFILES:.h=.c)
-LLDLIBS = $(LIBXFS) $(LIBDISK) $(LIBUUID) $(LIBLVM)
+
+# Note: ordering for libdisk and liblvm is important - we must
+# now present liblvm to ld twice :( -> libdisk works around the
+# liblvm unresolved symbol problem, but also calls into liblvm.
+LLDLIBS = $(LIBXFS) $(LIBUUID) $(LIBLVM) $(LIBDISK) $(LIBLVM)
 LTDEPENDENCIES = $(LIBXFS) $(LIBDISK)
 LLDFLAGS = -static