summaryrefslogtreecommitdiff
path: root/package/xfsprogs/patches/patch-spaceman_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/xfsprogs/patches/patch-spaceman_Makefile')
-rw-r--r--package/xfsprogs/patches/patch-spaceman_Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/xfsprogs/patches/patch-spaceman_Makefile b/package/xfsprogs/patches/patch-spaceman_Makefile
new file mode 100644
index 000000000..1bd7da4a7
--- /dev/null
+++ b/package/xfsprogs/patches/patch-spaceman_Makefile
@@ -0,0 +1,13 @@
+--- xfsprogs-4.13.1.orig/spaceman/Makefile 2017-09-09 02:35:35.000000000 +0200
++++ xfsprogs-4.13.1/spaceman/Makefile 2017-11-25 17:55:33.271558933 +0100
+@@ -9,8 +9,8 @@ LTCOMMAND = xfs_spaceman
+ HFILES = init.h space.h
+ CFILES = init.c file.c prealloc.c trim.c
+
+-LLDLIBS = $(LIBXCMD)
+-LTDEPENDENCIES = $(LIBXCMD)
++LLDLIBS = $(LIBXFS) $(LIBXCMD)
++LTDEPENDENCIES = $(LIBXFS) $(LIBXCMD)
+ LLDFLAGS = -static
+
+ ifeq ($(ENABLE_READLINE),yes)