summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-07 14:29:52 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-07 14:29:52 -0600
commit79a4919777b839238bbaf61f0fb6bdf58959e43b (patch)
tree2d98d20fecb2fffa92848a643a17ae41bcd502bf /acprep
parent7e250696e02e0392bc865f66570da296ced124ab (diff)
downloadfork-ledger-79a4919777b839238bbaf61f0fb6bdf58959e43b.tar.gz
fork-ledger-79a4919777b839238bbaf61f0fb6bdf58959e43b.tar.bz2
fork-ledger-79a4919777b839238bbaf61f0fb6bdf58959e43b.zip
Fix for optimizing building with Clang
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep5
1 files changed, 3 insertions, 2 deletions
diff --git a/acprep b/acprep
index bf0ef9ee..06087572 100755
--- a/acprep
+++ b/acprep
@@ -1010,7 +1010,8 @@ class PrepareBuild(CommandLineApp):
self.boost_inc_ident = "clang"
self.boost_lib_ident = "clang-darwin28"
- self.log.debug("Setting Python home to /opt/local")
+ global search_prefixes
+ search_prefixes = [ '/opt/local', '/usr/local', '/sw', '/usr' ]
self.log.debug('Using Clang ident: %s/%s' %
(self.boost_inc_ident, self.boost_lib_ident))
@@ -1319,7 +1320,7 @@ class PrepareBuild(CommandLineApp):
else:
if self.boost_info.configure():
pass
- elif self.boost_info.configure(
+ elif not self.options.use_clang and self.boost_info.configure(
home_path = '/usr/local/stow/boost_%s-%s' % \
(self.boost_version, self.boost_inc_ident),
suffix = '-%s-%s' % \