From 79a4919777b839238bbaf61f0fb6bdf58959e43b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 7 Mar 2012 14:29:52 -0600 Subject: Fix for optimizing building with Clang --- acprep | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'acprep') 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' % \ -- cgit v1.2.3