Tweak the bindgen setup scripts.

This commit is contained in:
Bobby Holley 2016-05-06 14:30:57 -07:00
parent 286da1bbe4
commit a778b03f36
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ You can see a description of them below.
## `setup_bindgen.sh`
This uses downloads a custom version of bindgen, up to date to generate the
bindings, and uses the custom `clang` to build it.
bindings, and uses the required `llvm38` to build it.
It will also rebuild it if it's already downloaded.

View file

@ -5,9 +5,9 @@ cd "$(dirname $0)"
# Setup and build bindgen.
if [ "$(uname)" == "Linux" ]; then
LIBCLANG_PATH=/usr/lib/llvm-3.8/lib;
export LIBCLANG_PATH=/usr/lib/llvm-3.8/lib;
else
LIBCLANG_PATH=`brew --prefix llvm38`/lib/llvm-3.8/lib;
export LIBCLANG_PATH=`brew --prefix llvm38`/lib/llvm-3.8/lib;
fi
# Make sure we have llvm38.