summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-11-01 14:32:22 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-11-01 14:32:22 +0000
commitbc5a501d09e3ddd4bf533dcea2ac18f6f37cbfd1 (patch)
tree8cebed3b4d2a62b467ecb0d6250e0eee9a7fcc03 /eclass
parentppc stable, bug #152951 (diff)
downloadgentoo-2-bc5a501d09e3ddd4bf533dcea2ac18f6f37cbfd1.tar.gz
gentoo-2-bc5a501d09e3ddd4bf533dcea2ac18f6f37cbfd1.tar.bz2
gentoo-2-bc5a501d09e3ddd4bf533dcea2ac18f6f37cbfd1.zip
Add LDFLAGS to link-commands not yet containing it.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vdr-plugin.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/vdr-plugin.eclass b/eclass/vdr-plugin.eclass
index e3d6ac1bfb09..bc85c266c65d 100644
--- a/eclass/vdr-plugin.eclass
+++ b/eclass/vdr-plugin.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.37 2006/10/19 10:26:10 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.38 2006/11/01 14:32:22 zzam Exp $
#
# Author:
# Matthias Schwarzott <zzam@gentoo.org>
@@ -218,9 +218,10 @@ vdr-plugin_src_unpack() {
-e '2i\APIVERSION = '"${APIVERSION}"
eend $?
- ebegin " Correcting CXXFLAGS"
+ ebegin " Correcting Compile-Flags"
sed -i Makefile \
- -e 's:^CXXFLAGS:#CXXFLAGS:'
+ -e 's:^CXXFLAGS:#CXXFLAGS:' \
+ -e '/LDFLAGS/!s:-shared:$(LDFLAGS) -shared:'
eend $?
ebegin " Disabling file stripping"