diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2010-10-28 11:46:32 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2010-10-28 11:46:32 +0000 |
commit | 745b16d8dba1bad0ec5ecb672d30b3e5f873f4bf (patch) | |
tree | ce9e70228c78bd9d592011db3ed66f5065d7ce3d /eclass | |
parent | Drop code that moved to eclass. (diff) | |
download | historical-745b16d8dba1bad0ec5ecb672d30b3e5f873f4bf.tar.gz historical-745b16d8dba1bad0ec5ecb672d30b3e5f873f4bf.tar.bz2 historical-745b16d8dba1bad0ec5ecb672d30b3e5f873f4bf.zip |
Conditional previous commit in favor of stripping it only on libs.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/xorg-2.eclass | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass index 237dcfb484c0..5ab968e426d6 100644 --- a/eclass/xorg-2.eclass +++ b/eclass/xorg-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.15 2010/10/28 11:43:33 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.16 2010/10/28 11:46:32 scarabeus Exp $ # # @ECLASS: xorg-2.eclass # @MAINTAINER: @@ -258,10 +258,12 @@ xorg-2_flags_setup() { # hardened ldflags [[ ${PN} = xorg-server || -n ${DRIVER} ]] && append-ldflags -Wl,-z,lazy - # Quite few packages fail on runtime without these: - filter-flags -Wl,-Bdirect - filter-ldflags -Bdirect - filter-ldflags -Wl,-Bdirect + # Quite few libraries fail on runtime without these: + if has static-libs ${IUSE//+}; then + filter-flags -Wl,-Bdirect + filter-ldflags -Bdirect + filter-ldflags -Wl,-Bdirect + fi } # @FUNCTION: xorg-2_src_configure |