From 04730b9a7f999089415b8e3ca55d9bde8f57abe4 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Sun, 15 Jul 2001 04:32:35 +0000 Subject: [PATCH] fix liblvm linking problem due to libdisk code reorg. see comment in Makefile for more details. --- mkfs/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mkfs/Makefile b/mkfs/Makefile index 5f7761a70..527fc471c 100644 --- a/mkfs/Makefile +++ b/mkfs/Makefile @@ -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 -- 2.47.2