libmongoclient: find boost outside of /usr/local
Fixes Homebrew/homebrew#24950. Closes Homebrew/homebrew#25306. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
ad9fe37c3b
commit
66d8a56559
1 changed files with 2 additions and 0 deletions
|
@ -12,12 +12,14 @@ class Libmongoclient < Formula
|
|||
|
||||
def install
|
||||
scons = Formula.factory('scons').opt_prefix/'bin/scons'
|
||||
boost = Formula.factory('boost').opt_prefix
|
||||
|
||||
args = [
|
||||
"--prefix=#{prefix}",
|
||||
"-j#{ENV.make_jobs}",
|
||||
"--cc=#{ENV.cc}",
|
||||
"--cxx=#{ENV.cxx}",
|
||||
"--extrapath=#{boost}",
|
||||
"--full",
|
||||
"--use-system-all",
|
||||
"--sharedclient"
|
||||
|
|
Loading…
Reference in a new issue