diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-07 08:59:19 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-07 08:59:19 -0500 |
commit | 01255bdf6c621156c7a77e6ee9cfa46fb2c6f115 (patch) | |
tree | 2ca49094174f8e982aefaebb0ab26e103adf1757 /acprep | |
parent | 1bb2261c994cc50ad928422e6245810781cb9ac1 (diff) | |
download | fork-ledger-01255bdf6c621156c7a77e6ee9cfa46fb2c6f115.tar.gz fork-ledger-01255bdf6c621156c7a77e6ee9cfa46fb2c6f115.tar.bz2 fork-ledger-01255bdf6c621156c7a77e6ee9cfa46fb2c6f115.zip |
Use static Boost when available
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1000,6 +1000,14 @@ class PrepareBuild(CommandLineApp): self.sys_include_dirs.append('/opt/local/include/boost') + elif exists('/usr/local/lib/libboost_regex-xgcc44-sd-1_40.a'): + self.envvars['BOOST_HOME'] = '/usr/local' + self.envvars['BOOST_SUFFIX'] = '-xgcc44-sd-1_40' + self.log.info('Setting BOOST_SUFFIX => %s' % + self.envvars['BOOST_SUFFIX']) + + self.sys_include_dirs.append('/usr/local/include/boost-1_40') + elif exists('/usr/local/lib/libboost_regex-xgcc44-d-1_40.a'): self.envvars['BOOST_HOME'] = '/usr/local' self.envvars['BOOST_SUFFIX'] = '-xgcc44-d-1_40' |