Merge pull request #11159 from dezgeg/pr-xfsprogs-fix

xfsprogs: Extend patch to make xfs_mdrestore and xfs_quota work
This commit is contained in:
lethalman 2015-12-02 10:11:04 +01:00
commit e0bacc0b39

View File

@ -78,3 +78,23 @@
ifeq ($(HAVE_BUILDDEFS), yes)
--- xfsprogs-4.2.0/quota/Makefile
+++ xfsprogs-4.2.0/quota/Makefile
@@ -16,7 +16,6 @@ LSRCFILES = $(shell echo $(PCFILES) | sed -e "s/$(PKG_PLATFORM).c//g")
LLDLIBS = $(LIBXCMD)
LTDEPENDENCIES = $(LIBXCMD)
-LLDFLAGS = -static
ifeq ($(ENABLE_READLINE),yes)
LLDLIBS += $(LIBREADLINE) $(LIBTERMCAP)
--- xfsprogs-4.2.0/mdrestore/Makefile
+++ xfsprogs-4.2.0/mdrestore/Makefile
@@ -10,7 +10,6 @@ CFILES = xfs_mdrestore.c
LLDLIBS = $(LIBXFS) $(LIBRT) $(LIBPTHREAD) $(LIBUUID)
LTDEPENDENCIES = $(LIBXFS)
-LLDFLAGS = -static
default: depend $(LTCOMMAND)