Mercurial > gub
changeset 5377:c3f6247ab707
tools::bash: New flavour.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Wed, 22 Jul 2009 09:50:25 +0200 |
parents | 4b6a19424c83 |
children | aae6f1ef2941 |
files | gub/specs/bash.py |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/bash.py Wed Jul 22 09:50:08 2009 +0200 +++ b/gub/specs/bash.py Wed Jul 22 09:50:25 2009 +0200 @@ -1,4 +1,6 @@ +from gub import context from gub import target +from gub import tools class Bash (target.AutoBuild): source = 'ftp://ftp.cwru.edu/pub/bash/bash-3.2.tar.gz' @@ -15,3 +17,10 @@ str += 'bash_cv_have_mbstate_t=yes\n' return str +class Bash__tools (tools.AutoBuild, Bash): + @context.subst_method + def LDFLAGS (self): + return '%(rpath)' + def wrap_executables (self): + # using rpath + pass