From 45d9ba0f01cceb75f72d157a9e4d9aaeb753a9c4 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Tue, 20 Mar 2018 14:13:28 +0200 Subject: [PATCH] xfs_scrub: fix cross compile with libunistring Commit 4bbed4ecc2a (xfs_scrub: warn about normalized Unicode name collisions) added -lunistring to the list of the xfs_scrub dependencies. When cross compiling make fails to find the library on the target sysroot: make[3]: *** No rule to make target `-lunistring', needed by `xfs_scrub'. Stop. Remove -lunistring from make dependencies of xfs_scrub to fix that. Cc: Darrick J. Wong Signed-off-by: Baruch Siach --- Upstream status: https://patchwork.kernel.org/patch/10296957/ scrub/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrub/Makefile b/scrub/Makefile index 949f6fd8ba94..979603f524ff 100644 --- a/scrub/Makefile +++ b/scrub/Makefile @@ -69,7 +69,7 @@ vfs.c \ xfs_scrub.c LLDLIBS += $(LIBHANDLE) $(LIBFROG) $(LIBPTHREAD) $(LIBUNISTRING) $(LIBRT) -LTDEPENDENCIES += $(LIBHANDLE) $(LIBFROG) $(LIBUNISTRING) $(LIBRT) +LTDEPENDENCIES += $(LIBHANDLE) $(LIBFROG) $(LIBRT) LLDFLAGS = -static-libtool-libs ifeq ($(HAVE_MALLINFO),yes) -- 2.16.2