tc-get{RC,DLLWRAP}: new helper functions for dealing with Windows toolchains
authorMike Frysinger <vapier@gentoo.org>
Mon, 15 Mar 2010 23:51:14 +0000 (23:51 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 15 Mar 2010 23:51:14 +0000 (23:51 +0000)
eclass/toolchain-funcs.eclass

index ed6720fe09e69b5cffa036e150379938fb9ed73d..e00a9c18b21ed9ea47b8d306bc00b1160e6e1d20 100644 (file)
@@ -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]