From patchwork Tue Mar 20 12:21:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 10296957 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6E6FD602C2 for ; Tue, 20 Mar 2018 12:22:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F28328EB5 for ; Tue, 20 Mar 2018 12:22:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 537D228ED7; Tue, 20 Mar 2018 12:22:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9CAF28EB5 for ; Tue, 20 Mar 2018 12:22:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752893AbeCTMWQ (ORCPT ); Tue, 20 Mar 2018 08:22:16 -0400 Received: from guitar.tcltek.co.il ([192.115.133.116]:56937 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753158AbeCTMWP (ORCPT ); Tue, 20 Mar 2018 08:22:15 -0400 Received: from tarshish.tkos.co.il (unknown [10.0.8.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPSA id A805E4404F0; Tue, 20 Mar 2018 14:22:12 +0200 (IST) From: Baruch Siach To: linux-xfs@vger.kernel.org Cc: Baruch Siach , "Darrick J . Wong" Subject: [PATCH] xfs_scrub: fix cross compile with libunistring Date: Tue, 20 Mar 2018 14:21:56 +0200 Message-Id: <45d9ba0f01cceb75f72d157a9e4d9aaeb753a9c4.1521548516.git.baruch@tkos.co.il> X-Mailer: git-send-email 2.16.2 Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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)