aboutsummaryrefslogtreecommitdiffhomepage
path: root/compile.sh
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2015-03-25 11:08:18 +0000
committerGravatar Lukacs Berki <lberki@google.com>2015-03-25 11:13:15 +0000
commitbe8af482a3a14ea17450e54250187722709ceaf9 (patch)
tree05efe3983b56ccb32cbe149d37b39e8066db928c /compile.sh
parentc2090e5cc973b4388e07d33cfac370551ac6e003 (diff)
Allow compile.sh to find libarchive on Mac with custom Homebrew directory.
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.sh b/compile.sh
index 5b83b32b1b..488fc801ef 100755
--- a/compile.sh
+++ b/compile.sh
@@ -140,7 +140,7 @@ darwin)
fi
PROTOC=${PROTOC:-third_party/protobuf/protoc.darwin}
- homebrew_header=$(ls -1 $(brew --prefix 2>/dev/null)/Cellar/libarchive/*/include/archive.h 2>/dev/null | head -n1)
+ homebrew_header=$(ls -1 $(brew --prefix libarchive 2>/dev/null)/Cellar/libarchive/*/include/archive.h 2>/dev/null | head -n1)
macports_header=/opt/local/include/archive.h
if [[ -e $homebrew_header ]]; then
# For use with Homebrew.