diff -ur xfsprogs-3.0.0.org/libdisk/Makefile xfsprogs-3.0.0/libdisk/Makefile
--- xfsprogs-3.0.0.org/libdisk/Makefile 2009-01-28 20:13:16.000000000 +0100
+++ xfsprogs-3.0.0/libdisk/Makefile 2009-02-04 23:09:19.331922399 +0100
-@@ -25,8 +25,9 @@
+@@ -25,8 +25,10 @@
include $(BUILDRULES)
install: default
+ $(INSTALL_LTLIB)
install-dev: default
-- $(INSTALL_LTLIB_STATIC)
+ $(INSTALL_LTLIB_DEV)
install-qa: install-dev
+
diff -ur xfsprogs-3.0.0.org/libxfs/Makefile xfsprogs-3.0.0/libxfs/Makefile
--- xfsprogs-3.0.0.org/libxfs/Makefile 2009-01-28 20:13:16.000000000 +0100
+++ xfsprogs-3.0.0/libxfs/Makefile 2009-02-04 23:09:19.331922399 +0100
diff -ur xfsprogs-3.0.0.org/libxlog/Makefile xfsprogs-3.0.0/libxlog/Makefile
--- xfsprogs-3.0.0.org/libxlog/Makefile 2009-01-28 20:13:17.000000000 +0100
+++ xfsprogs-3.0.0/libxlog/Makefile 2009-02-04 23:09:37.878049126 +0100
-@@ -12,6 +12,8 @@
+@@ -11,6 +11,7 @@
+ LT_AGE = 0
CFILES = xfs_log_recover.c util.c
-
+LTLIBS = $(LIBUUID) $(LIBXFS)
-+
+
# don't want to link xfs_repair with a debug libxlog.
DEBUG = -DNDEBUG
-
-@@ -19,4 +21,10 @@
+@@ -19,6 +20,12 @@
include $(BUILDRULES)
+ $(INSTALL_LTLIB_DEV)
+
+install-qa: default
-
+
+ -include .dep
+diff -ur xfsprogs-3.1.1.org/libxcmd/Makefile xfsprogs-3.1.1/libxcmd/Makefile
+--- xfsprogs-3.1.1.org/libxcmd/Makefile 2010-01-29 20:46:13.000000000 +0100
++++ xfsprogs-3.1.1/libxcmd/Makefile 2010-03-20 21:56:24.000000000 +0100
+@@ -12,6 +12,8 @@
+
+ CFILES = command.c input.c paths.c projects.c help.c quit.c
+
++LTLIBS = $(LIBREADLINE)
++
+ ifeq ($(HAVE_GETMNTENT),yes)
+ LCFLAGS += -DHAVE_GETMNTENT
+ endif
+@@ -32,6 +32,13 @@
+
+ include $(BUILDRULES)
+
+-install install-dev install-qa: default
++install: default
++ $(INSTALL_LTLIB)
++
++install-dev: default
++ $(INSTALL_LTLIB_DEV)
++
++install-qa: install-dev
++
+
+ -include .dep