From deb4494554caef4d807fe24ae3f989606ebf3812 Mon Sep 17 00:00:00 2001 From: Andres Loeh Date: Thu, 4 Nov 2004 14:16:14 +0000 Subject: [PATCH] * added missing flag in ghc-makeghcilib function --- eclass/ghc-package.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass index 1688edc8db48..e0754f8d2a60 100644 --- a/eclass/ghc-package.eclass +++ b/eclass/ghc-package.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.3 2004/11/04 13:13:59 kosmikus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.4 2004/11/04 14:16:14 kosmikus Exp $ # # Author: Andres Loeh # @@ -55,7 +55,7 @@ ghc-localpkgconf() { ghc-makeghcilib() { local outfile outfile="$(dirname $1)/$(basename $1 | sed 's:^lib\?\(.*\)\.a$:\1.o:')" - ld --relocatable --discard-all --output="${outfile}" $1 + ld --relocatable --discard-all --output="${outfile}" --whole-archive $1 } # creates a local (package-specific) package -- 2.26.2