Mercurial > bitten > bitten-test
comparison bitten/build/ctools.py @ 910:875cd3896218 0.6.x
0.6dev: Merged [991] from trunk.
author | osimons |
---|---|
date | Mon, 09 May 2011 21:29:05 +0000 |
parents | f4d07544722b |
children |
comparison
equal
deleted
inserted
replaced
908:56c269e75737 | 910:875cd3896218 |
---|---|
59 if cflags: | 59 if cflags: |
60 args.append('CFLAGS=%s' % cflags) | 60 args.append('CFLAGS=%s' % cflags) |
61 if cxxflags: | 61 if cxxflags: |
62 args.append('CXXFLAGS=%s' % cxxflags) | 62 args.append('CXXFLAGS=%s' % cxxflags) |
63 if prefix: | 63 if prefix: |
64 args.append('--prefix=%ss' % prefix) | 64 args.append('--prefix=%s' % prefix) |
65 | 65 |
66 from bitten.build import shtools | 66 from bitten.build import shtools |
67 returncode = shtools.execute(ctxt, file_=file_, args=args) | 67 returncode = shtools.execute(ctxt, file_=file_, args=args) |
68 if returncode != 0: | 68 if returncode != 0: |
69 ctxt.error('configure failed (%s)' % returncode) | 69 ctxt.error('configure failed (%s)' % returncode) |