summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-14 06:13:06 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-14 06:13:06 -0500
commitd1faa1e505f947defdd4afe517ff8249fdf79e4d (patch)
treef89ecc4a7dccc758ed545ba9f19743899d8daf4b
parentcb9991093d3381333358066b86a2dadc3a5a738c (diff)
downloadfork-ledger-d1faa1e505f947defdd4afe517ff8249fdf79e4d.tar.gz
fork-ledger-d1faa1e505f947defdd4afe517ff8249fdf79e4d.tar.bz2
fork-ledger-d1faa1e505f947defdd4afe517ff8249fdf79e4d.zip
Use the static Python libs when building statically
-rwxr-xr-xacprep8
1 files changed, 8 insertions, 0 deletions
diff --git a/acprep b/acprep
index d9029741..1b99566a 100755
--- a/acprep
+++ b/acprep
@@ -1034,6 +1034,14 @@ class PrepareBuild(CommandLineApp):
self.sys_include_dirs.append('/opt/local/include/boost')
+ elif exists('/usr/local/lib/libboost_regex-xgcc44-s-1_40.a'):
+ self.envvars['BOOST_HOME'] = '/usr/local'
+ self.envvars['BOOST_SUFFIX'] = '-xgcc44-s-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-1_40.a'):
self.envvars['BOOST_HOME'] = '/usr/local'
self.envvars['BOOST_SUFFIX'] = '-xgcc44-1_40'