diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-03-15 23:51:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-15 23:51:14 +0000 |
commit | 8cd9c483f3313225a7cf2d63a87330729b60dd65 (patch) | |
tree | cf57412dce68fc8bab3ef56d866310fa837b8595 /eclass/toolchain-funcs.eclass | |
parent | Add Kyrgyz locale (bug #194567). (diff) | |
download | historical-8cd9c483f3313225a7cf2d63a87330729b60dd65.tar.gz historical-8cd9c483f3313225a7cf2d63a87330729b60dd65.tar.bz2 historical-8cd9c483f3313225a7cf2d63a87330729b60dd65.zip |
tc-get{RC,DLLWRAP}: new helper functions for dealing with Windows toolchains
Diffstat (limited to 'eclass/toolchain-funcs.eclass')
-rw-r--r-- | eclass/toolchain-funcs.eclass | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index ed6720fe09e6..e00a9c18b21e 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.97 2009/12/01 04:44:17 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.98 2010/03/15 23:51:14 vapier Exp $ # @ECLASS: toolchain-funcs.eclass # @MAINTAINER: @@ -92,6 +92,14 @@ tc-getGCJ() { tc-getPROG GCJ gcj "$@"; } # @USAGE: [toolchain prefix] # @RETURN: name of the pkg-config tool tc-getPKG_CONFIG() { tc-getPROG PKG_CONFIG pkg-config "$@"; } +# @FUNCTION: tc-getRC +# @USAGE: [toolchain prefix] +# @RETURN: name of the Windows resource compiler +tc-getRC() { tc-getPROG RC windres "$@"; } +# @FUNCTION: tc-getDLLWRAP +# @USAGE: [toolchain prefix] +# @RETURN: name of the Windows dllwrap utility +tc-getDLLWRAP() { tc-getPROG DLLWRAP dllwrap "$@"; } # @FUNCTION: tc-getBUILD_CC # @USAGE: [toolchain prefix] |