Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id 68E7F7F37 for ; Wed, 25 Nov 2015 05:11:05 -0600 (CST) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by relay2.corp.sgi.com (Postfix) with ESMTP id 3D4B2304032 for ; Wed, 25 Nov 2015 03:11:02 -0800 (PST) Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by cuda.sgi.com with ESMTP id stORoI86coxJgNWe for ; Wed, 25 Nov 2015 03:10:56 -0800 (PST) Received: from hhmail02.hh.imgtec.org (unknown [10.100.10.20]) by Websense Email Security Gateway with ESMTPS id 206ED3EA90B4B for ; Wed, 25 Nov 2015 11:10:53 +0000 (GMT) From: Vicente Olivert Riera Subject: [PATCH xfsprogs] mdrestore: do not do dynamic linking of libtool libraries Date: Wed, 25 Nov 2015 11:10:38 +0000 Message-ID: <1448449838-47261-1-git-send-email-Vincent.Riera@imgtec.com> MIME-Version: 1.0 List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: xfs@oss.sgi.com Cc: Vicente Olivert Riera As explained in commit ece49daeff1a3cad765e106d678c608925c9d768, use -static-libtool-libs instead of -static to allow fallback to the dynamic linking for libuuid only. Otherwise the build will fail like this: ld: attempted static link of dynamic object `/usr/lib/libuuid.so' Signed-off-by: Vicente Olivert Riera --- mdrestore/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdrestore/Makefile b/mdrestore/Makefile index 5171306..1b34a0e 100644 --- a/mdrestore/Makefile +++ b/mdrestore/Makefile @@ -10,7 +10,7 @@ CFILES = xfs_mdrestore.c LLDLIBS = $(LIBXFS) $(LIBRT) $(LIBPTHREAD) $(LIBUUID) LTDEPENDENCIES = $(LIBXFS) -LLDFLAGS = -static +LLDFLAGS = -static-libtool-libs default: depend $(LTCOMMAND) -- 2.4.10 _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs