diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2009-05-03 20:03:10 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2009-05-03 20:03:10 +0000 |
commit | 05c1d186cba26147468f38718ec58811b85f55a7 (patch) | |
tree | c7cd995c1a4cf394fac2d78dd8975f7d1d73ab8d /eclass/gtk-sharp-module.eclass | |
parent | Bump version to use upstream tarball instead of gem. (diff) | |
download | gentoo-2-05c1d186cba26147468f38718ec58811b85f55a7.tar.gz gentoo-2-05c1d186cba26147468f38718ec58811b85f55a7.tar.bz2 gentoo-2-05c1d186cba26147468f38718ec58811b85f55a7.zip |
Import patch from Debian http://bugs.debian.org/347650 which hacks around libtool deplib re-ordering, which inhibits -Wl,--as-needed. You have to set -Wl,--as-needed seperately in LDFLAGS for this to do any good, -Wl,--as-needed,--something-else will not do, but you can set -Wl,--something-else afterwards. Also make sure eclasses I 'own' run elibtoolize so they can reap the benefit.
Diffstat (limited to 'eclass/gtk-sharp-module.eclass')
-rw-r--r-- | eclass/gtk-sharp-module.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/gtk-sharp-module.eclass b/eclass/gtk-sharp-module.eclass index cc388ab8c444..f3c126622b88 100644 --- a/eclass/gtk-sharp-module.eclass +++ b/eclass/gtk-sharp-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.23 2009/03/18 11:14:09 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.24 2009/05/03 20:03:10 loki_val Exp $ # @ECLASS: gtk-sharp-module.eclass # @MAINTAINER: @@ -14,7 +14,7 @@ WANT_AUTOMAKE=none WANT_AUTOCONF=none -inherit eutils mono multilib autotools base versionator +inherit eutils mono multilib libtool autotools base versionator # @ECLASS-VARIABLE: GTK_SHARP_MODULE # @DESCRIPTION: @@ -456,6 +456,7 @@ gtk-sharp-module_src_prepare() { # If set, EAUTORECONF will be run during src_prepare. [[ ${EAUTORECONF} ]] && eautoreconf phase_hook ${TARBALL}-tarball-post + elibtoolize } # @FUNCTION: gtk-sharp-tarball_src_configure |