From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay01.ispgateway.de ([80.67.31.35]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RnzNL-0005SW-Tv for ptxdist@pengutronix.de; Thu, 19 Jan 2012 22:18:29 +0100 Received: from [88.217.119.226] (helo=galilei.fritz.box) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1RnzNL-0005nP-Ga for ptxdist@pengutronix.de; Thu, 19 Jan 2012 22:18:27 +0100 From: Bernhard Walle Date: Thu, 19 Jan 2012 22:18:19 +0100 Message-Id: <1327007899-95225-1-git-send-email-bernhard@bwalle.de> In-Reply-To: <4F188843.7020703@bwalle.de> References: <4F188843.7020703@bwalle.de> Subject: [ptxdist] [PATCH] Fix usage of fakeroot on Darwin Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de The extension of shared libraries on Darwin is .dylib, not .so. Because fakeroot doesn't need specification of the pre-load library but finds the library automatically, remove calling fakeroot with -l. Signed-off-by: Bernhard Walle --- rules/pre/Rules.make | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make index c531a50..1d6da52 100644 --- a/rules/pre/Rules.make +++ b/rules/pre/Rules.make @@ -13,7 +13,8 @@ GNU_BUILD := $(shell $(SCRIPTSDIR)/autoconf/config.guess) GNU_HOST := $(shell echo $(GNU_BUILD) | sed s/-[a-zA-Z0-9_]*-/-host-/) INSTALL := install -FAKEROOT := $(PTXDIST_SYSROOT_HOST)/bin/fakeroot -l $(PTXDIST_SYSROOT_HOST)/lib/libfakeroot.so + +FAKEROOT := $(PTXDIST_SYSROOT_HOST)/bin/fakeroot CHECK_PIPE_STATUS := \ for i in "$${PIPESTATUS[@]}"; do [ $$i -gt 0 ] && { \ -- 1.7.7.4 -- ptxdist mailing list ptxdist@pengutronix.de